You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2014/12/11 14:14:13 UTC

[jira] [Created] (CASSANDRA-8459) "autocompaction" on reads can prevent memtable space reclaimation

Benedict created CASSANDRA-8459:
-----------------------------------

             Summary: "autocompaction" on reads can prevent memtable space reclaimation
                 Key: CASSANDRA-8459
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8459
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Benedict
            Assignee: Benedict
             Fix For: 2.1.3


Memtable memory reclamation is dependent on reads always making progress, however on the collectTimeOrderedData critical path it is possible for the read to perform a _write_ inline, and for this write to block waiting for memtable space to be reclaimed. However the reclaimation is blocked waiting for this read to complete.

There are a number of solutions to this, but the simplest is to make the defragmentation happen asynchronously, so the read terminates normally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)