Jackie-Jiang opened a new pull request, #10251: URL: https://github.com/apache/pinot/pull/10251
Currently we may still access the upsert metadata when the metadata manager is already closed. This can cause exception or even server crash if we release the metadata when closing the metadata manager. This PR fixes the issue by: 1. Introducing `stop()` which reject future metadata access operations 2. Track the pending metadata access operations, and `close()` the metadata manager only when all the pending operations are finished ## Incompatible This PR changes the upsert metadata manager interfaces and abstract method signatures -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
