dlmarion commented on issue #1610: URL: https://github.com/apache/accumulo/issues/1610#issuecomment-1180352031
According to the `Suppliers.memoizeWithExpiration()` javadoc and source, the return value of the supplier is cached for the specified duration. So, the code in `CompactableImpl.CompactionCheck.memoizedCheck` is invoked every 100ms. In the case of a compaction that is running this seems better than the suggestion above. However, in the case of a compaction thread that is slow (e.g. user iterators, waiting on I/O or CPU), 100ms might be too low of a value. -- 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]
