Cluster Snapshot Recorder doesn't delete sessions from buffer
-------------------------------------------------------------

                 Key: CDV-879
                 URL: https://jira.terracotta.org/jira//browse/CDV-879
             Project: Community Development
          Issue Type: Bug
          Components: Statistics
            Reporter: Geert Bevin
            Assignee: Issue Review Board


The cluster statistics recorder buffers all data locally on each node and sends 
the data out in batches to the gatherer on the TC server. During that time it 
needs the information of the active capturing session. However, when the 
session is stopped and all the data for it has been sent out, the session data 
itself should also be removed from the buffer. This isn't done currently.

The consumeStatistics method of H2StatisticsBufferImpl should know when all 
session data has been consumed and at that time clear the session information 
from capturesession.

Without doing this, it's not possible to re-use a capture session ID.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to