This class is responsible for watching for changes to the draining servers list. It handles adds/deletes in the draining FS list and watches each node.
If an fs gets deleted from draining list, we call {@link com.alibaba.wasp.master.FServerManager#removeServerFromDrainList(com.alibaba.wasp.ServerName)}
If an fs gets added to the draining list, we add a watcher to it and call {@link com.alibaba.wasp.master.FServerManager#addServerToDrainList(com.alibaba.wasp.ServerName)}
|
|