keith-turner commented on issue #3668: URL: https://github.com/apache/accumulo/issues/3668#issuecomment-1658704950
> If the Thrift RPC that calls importMapFiles times out while waiting for the tablet lock, then this would be bad, right? I think we might want to update that metadata table inside the tablet lock. The intention is to avoid any I/O while holding the tablet lock and only do non blocking things like update in memory data structs. All scans get the tablet lock when they start to determine what files and in memory maps to use and also reserve those resources while holding the lock. Anything that did I/O while holding the tablet lock would negatively impact scans. While the intention is not do I/O while holding the tablet lock its hard to analyze the code and ensure this does not happen because code gets the lock and then calls functions. Over time once of these functions calls could have I/O added. A lot of code logs using log4j while holding the tablet lock, its possible log4j could block on I/O also. -- 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]
