keith-turner opened a new issue #2222:
URL: https://github.com/apache/accumulo/issues/2222


   **Describe the bug**
   
   When CompactableImpl writes chop information 
[here](https://github.com/apache/accumulo/blob/a9100ac35f3d72677b767d7670dfb032c7e7d733/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/CompactableImpl.java#L691)
 it could happen after 
[close()](https://github.com/apache/accumulo/blob/a9100ac35f3d72677b767d7670dfb032c7e7d733/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/CompactableImpl.java#L1384)
 was called.  When a tablet calls `CompactableImpl.close()` it expects the call 
to block until all ongoing metadata writes related to compactions are complete 
AND prevent any new writes from occurring after the `close()` call returns.  
This expectation is not being met when writing chop information to the metadata 
table.
   
   
   **Expected behavior**
   
   `CompactableImpl.close()` will block if there are any ongoing metadata chop 
writes and prevent any new ones from starting after it returns.
   
   
   


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


Reply via email to