dlmarion commented on issue #2689: URL: https://github.com/apache/accumulo/issues/2689#issuecomment-1175179031
The `PropStoreWatcher` will clear the cache when the connection is disconnected or closed (fires twice) and then the `ZooPropLoader` calls `ZooReaderWriter.getData` which is in a retry loop. The retry loop may return null after exhausting its retries, so I think the `ReadyMonitor` is an attempt to prevent that (although there is a race condition) by not calling `ZooReaderWriter.getData` until the `PropStoreWatcher` gets an event that says the connection is re-established. -- 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]
