dlmarion commented on issue #1999:
URL: https://github.com/apache/accumulo/issues/1999#issuecomment-818769389


   I made a change locally which seems to work. The change is to use 
`candidates` instead of `Set.copyOf(selectedFiles)` 
[here](https://github.com/apache/accumulo/blob/1451-external-compactions-feature/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/CompactableImpl.java#L526).
 I think the issue is that `selectedFiles` is being modified in another thread 
(while loading data into the table new files are created when mutations are 
flushed from memory). In most cases modification of `selectedFiles` is done 
within a `synchronized(this)` block, except in one method where the method has 
the `synchronized` modifier.


-- 
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]


Reply via email to