cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Manley (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-11447) Flush writer deadlock in Cassandra 2.2.5
Date Mon, 28 Mar 2016 19:20:25 GMT
Mark Manley created CASSANDRA-11447:

             Summary: Flush writer deadlock in Cassandra 2.2.5
                 Key: CASSANDRA-11447
             Project: Cassandra
          Issue Type: Bug
            Reporter: Mark Manley
         Attachments: cassandra.jstack.out

When writing heavily to one of my Cassandra tables, I got a deadlock similar to CASSANDRA-9882:

"MemtableFlushWriter:4589" #34721 daemon prio=5 os_prio=0 tid=0x0000000005fc11d0 nid=0x7664
waiting for monitor entry [0x00007fb83f0e5000]
   java.lang.Thread.State: BLOCKED (on object monitor)
        at org.apache.cassandra.db.compaction.WrappingCompactionStrategy.handleNotification(
        - waiting to lock <0x0000000400956258> (a org.apache.cassandra.db.compaction.WrappingCompactionStrategy)
        at org.apache.cassandra.db.lifecycle.Tracker.notifyAdded(
        at org.apache.cassandra.db.lifecycle.Tracker.replaceFlushed(
        at org.apache.cassandra.db.compaction.AbstractCompactionStrategy.replaceFlushed(
        at org.apache.cassandra.db.ColumnFamilyStore.replaceFlushed(
        at org.apache.cassandra.db.Memtable$FlushRunnable.runMayThrow(
        at org.apache.cassandra.db.ColumnFamilyStore$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$

The compaction strategies in this keyspace are mixed with one table using LCS and the rest
using DTCS.  None of the tables here save for the LCS one seem to have large SSTable counts:

		Table: active_counters
		SSTable count: 2

		Table: aggregation_job_entries
		SSTable count: 2

		Table: dsp_metrics_log
		SSTable count: 207

		Table: dsp_metrics_ts_5min
		SSTable count: 3

		Table: dsp_metrics_ts_day
		SSTable count: 2

		Table: dsp_metrics_ts_hour
		SSTable count: 2

Yet the symptoms are similar. 

The "dsp_metrics_ts_5min" table had had a major compaction shortly before all this to get
rid of the 400+ SStable files before this system went into use, but they should have been

Have other people seen?  I am attaching a strack trace.


This message was sent by Atlassian JIRA

View raw message