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

   **Describe the bug**
   The tablet server uses this [atomic 
long](https://github.com/apache/accumulo/blob/fe22a33b23fe7a36b7febc8068deeaedcdd793d2/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java#L389)
 to track the amount of data buffered in memory by current active writes.  This 
counter is incremented and decremented as RPCs are made to write data to tablet 
servers.
   
   If a client does not make the full sequence of RPCs because the client died 
it may never decrement the counter.  This could happen when a client process 
dies or if an error happens on the tablet server.
   
   **Expected behavior**
   
   This counter only reflects active writes and not possibly dead ones.  Maybe 
another strategy is needed for this.
   
   **Additional context**
   
   It would be nice to create a test for this that causes the problem to 
happen, but this seems really hard to test as there is not way to know this 
internal state.
   


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