cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2673) AssertionError post truncate
Date Wed, 25 May 2011 16:35:47 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-2673:
--------------------------------------

    Attachment: 2673.txt

patch to move the truncation operation to CompactionManager instead of postFlushExecutor.
(Not sure what the thinking was there, to be honest. Which may mean it's something subtle
I'm missing now, or maybe just that I was smoking crack when I wrote that code originally.
CASSANDRA-531, the original truncate ticket, doesn't shed any light here.)

> AssertionError post truncate
> ----------------------------
>
>                 Key: CASSANDRA-2673
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2673
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>         Environment: linux 64-bit ubuntu. deb package (datastax). (Random partitioner)
>            Reporter: Marko Mikulicic
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.7, 0.8.1
>
>         Attachments: 2673.txt
>
>
> I had 3 nodes with about 100G in a CF. I run truncate on that CF from cassandra-cli.
Then I run cleanup for that CF. I saw this exception shortly after.
>  INFO [FlushWriter:5] 2011-05-20 02:56:42,699 Memtable.java (line 157) Writing Memtable-body@1278535630(26722
bytes, 1 operations)
>  INFO [FlushWriter:5] 2011-05-20 02:56:42,706 Memtable.java (line 172) Completed flushing
/var/lib/cassandra/data/dnet/body-f-1892-Data.db (26915 bytes)
>  INFO [NonPeriodicTasks:1] 2011-05-20 02:59:55,981 SSTable.java (line 147) Deleted /var/lib/cassandra/data/dnet/body-f-1892
>  INFO [NonPeriodicTasks:1] 2011-05-20 02:59:55,982 SSTable.java (line 147) Deleted /var/lib/cassandra/data/dnet/body-f-1889
>  INFO [NonPeriodicTasks:1] 2011-05-20 02:59:55,983 SSTable.java (line 147) Deleted /var/lib/cassandra/data/dnet/body-f-1890
>  INFO [NonPeriodicTasks:1] 2011-05-20 02:59:55,983 SSTable.java (line 147) Deleted /var/lib/cassandra/data/dnet/body-f-1888
>  INFO [NonPeriodicTasks:1] 2011-05-20 02:59:55,984 SSTable.java (line 147) Deleted /var/lib/cassandra/data/dnet/body-f-1887
>  INFO [CompactionExecutor:1] 2011-05-20 03:02:08,724 CompactionManager.java (line 750)
Cleaned up to /var/lib/cassandra/data/dnet/body-tmp-f-1891-Data.db.  25,629,365,173 to 25,629,365,173
(~100% of original) bytes for 884,546 keys.  Time: 1,165,900ms.
> ERROR [CompactionExecutor:1] 2011-05-20 03:02:08,727 AbstractCassandraDaemon.java (line
114) Fatal exception in thread Thread[CompactionExecutor:1,1,main]
> java.lang.AssertionError
> 	at org.apache.cassandra.io.sstable.SSTableTracker.replace(SSTableTracker.java:108)
> 	at org.apache.cassandra.db.ColumnFamilyStore.replaceCompactedSSTables(ColumnFamilyStore.java:1037)
> 	at org.apache.cassandra.db.CompactionManager.doCleanupCompaction(CompactionManager.java:769)
> 	at org.apache.cassandra.db.CompactionManager.access$500(CompactionManager.java:56)
> 	at org.apache.cassandra.db.CompactionManager$2.call(CompactionManager.java:173)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message