cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2673) AssertionError post truncate
Date Wed, 01 Jun 2011 17:48:47 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042317#comment-13042317
] 

Hudson commented on CASSANDRA-2673:
-----------------------------------

Integrated in Cassandra-0.7 #501 (See [https://builds.apache.org/hudson/job/Cassandra-0.7/501/])
    fix truncate/compaction race
patch by jbellis; reviewed by slebresne for CASSANDRA-2673

jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1130191
Files : 
* /cassandra/branches/cassandra-0.7/CHANGES.txt
* /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/Table.java
* /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/CompactionManager.java
* /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
* /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/TruncateVerbHandler.java


> 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