keith-turner commented on PR #3896:
URL: https://github.com/apache/accumulo/pull/3896#issuecomment-1781817606

   Looking at this, I was thinking that the set of servers to shutdown could 
percolate through the tablet group watchers.   Not sure if it would work.  Was 
thinking of something like the following.
   
    * User TGW  uses the managers set of servers to shutdown
    * Metadata TGW uses the User TGW set of servers to shutdown
    * Root TGW uses the Metadata TGW set of servers to shutdown
   
   When a TGW does a full metadata scan it does the following.
   
    1. tmpshutdownServers = dependentWatcher.getServersToShutdown()
    2. pass tmpshutdownServers to tablet mgmt iterator
    3. do full scan of metadata and remove any servers seen from 
tmpshutdownServers
    4. set serversToShutdownForParent=tmpshutdownServers
   
   Thinking that TGW would have a method named `getServersToShutdown()` and 
that it would return `serversToShutdownForParent`.  Also 
`serversToShutdownForParent` would initially be the empty set and would only be 
set after TGW does a full scan.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to