keith-turner opened a new pull request, #3673: URL: https://github.com/apache/accumulo/pull/3673
The manager has an internal class called EventCoordinator that is used to signal that something happened in the manager. When anything signaled an event happened this would cause the tablet group watcher to scan the entire metadata table. This commit makes a few changes to improve this. First it added the ability to EventCoordinator to signal with more specific information, like a something happened with a table or a tablet. Second the TabletGroupWatcher was adapted to react to this more specific signaling with narrower scans of the metadata table. If a signal is made that something changed with a table, then only that tables metadata will be scanned. The TabletGroupWatcher will still do full scans periodically (based on configuration) or when a something signals a full scan is needed. The functionality added in #3447 was moved into TabletGroupWatcher. When the TabletGroupWatcher is doing a full scan if more narrow events occur during the full scan then they will be processed without waiting for the fullscan to complete. -- 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]
