keith-turner opened a new issue #1610:
URL: https://github.com/apache/accumulo/issues/1610
In the CompactableImpl Guava's Suppliers.memoizeWithExpiration() is used to
periodically see if a compaction is canceled. This code is called per
key/value compacted. It may be chepaer to do something like the following
instead.
```java
if(entriesCompacted % 1024 ==0) {
//code to check if canceled
}
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]