-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1726] Update WorkerInfo when transition worker state
### What changes were proposed in this pull request? Update WorkerInfo when transition worker state ### Why are the changes needed? When we send a `getWorkerInfo` request to the `Worker` node after this worker has became `Decommission` state , it does not return the correct state. note: If we send this request to `Master` node instead of `Worker`, the return value is correct. We should update the worker state also for worker node itself. ### Does this PR introduce _any_ user-facing change? Yes ### How was this patch tested? Mannually Closes #2930 from reswqa/worker_info. Authored-by: Weijie Guo <[email protected]> Signed-off-by: Shuang <[email protected]>
- Loading branch information
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters