Fence as many peers as possible when only some of them are going to shift to a new task.
Fence as many peers as possible when only some of them are going to shift to a new task.

onyx-platform/onyx,vijaykiran/onyx