You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/11/17 06:00:09 UTC
[GitHub] ningyougang opened a new pull request #2978: Fix bug when remove invoker
ningyougang opened a new pull request #2978: Fix bug when remove invoker
URL: https://github.com/apache/incubator-openwhisk/pull/2978
If deploy mutilple invoker instances on one physical node, and execute below `remove remaining actions`, exist problems
```
TASK [invoker : remove remaining actions] **************************************
Wednesday 15 November 2017 14:58:47 +0900 (0:00:00.618) 0:00:08.693 ****
changed: [invoker0]
TASK [invoker : remove invoker log directory] **********************************
Wednesday 15 November 2017 15:08:45 +0900 (0:09:57.545) 0:10:06.239 ****
changed: [invoker0]
```
1. it will costs much time to execute(above cost 10 mins), becuase when remove `invoker0`, the task will remove action container `wsk0_, wsk1_, and so on`, on the other hand, `wsk1` is removed by `invoker1's stop hook` default, so that's the reason why it will cost much time.
2. it may remove other invoker's action container, this is wrong logic, righ logic is `inovker0 remove wsk0_xx`, `invoker1 remove wsk1_xx`, and so on.
So it is necessary to add `exact filter` to `wsk action container` when remove invoker.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services