David Capwell created CASSANDRA-19265:
-----------------------------------------

             Summary: Mutation.PartitionUpdateCollector#add asserts Partitioner 
pointers are equal but this may fail during CommitLogReplay for LocalPartitioner
                 Key: CASSANDRA-19265
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19265
             Project: Cassandra
          Issue Type: Bug
          Components: Transactional Cluster Metadata
            Reporter: David Capwell


This was found on the cep-15-accord branch.  We have a system table 
all_commands_for_key and it seems that the LocalPartitioner pointer gets 
changed, causing CommitLogReplyer to fail

{code}
java.lang.AssertionError: Update to key 
DecoratedKey(11:01c93b4893674349ae:2b74bbca-eae8-3217-a675-115cf5642ef3\:3030312e302e393134,
 
00040000000b00000901c93b4893674349ae000021000000102b74bbcaeae83217a675115cf5642ef3000000093030312e302e39313400)
 with partitioner org.apache.cassandra.dht.LocalPartitioner@1fc4de9e (class 
org.apache.cassandra.dht.LocalPartitioner) had an update 
([system_accord.all_commands_for_key]...) with a different partitioner! 
org.apache.cassandra.dht.LocalPartitioner@c7d8be7 (class 
org.apache.cassandra.dht.LocalPartitioner)
        at org.apache.cassandra.utils.Throwables.unchecked(Throwables.java:308)
        at org.apache.cassandra.utils.Throwables.cleaned(Throwables.java:327)
        at 
org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:544)
        at 
org.apache.cassandra.db.commitlog.CommitLogReplayer.handleMutation(CommitLogReplayer.java:521)
        at 
org.apache.cassandra.db.commitlog.CommitLogReader.readMutation(CommitLogReader.java:478)
        at 
org.apache.cassandra.db.commitlog.CommitLogReader.readSection(CommitLogReader.java:397)
        at 
org.apache.cassandra.db.commitlog.CommitLogReader.readCommitLogSegment(CommitLogReader.java:244)
        at 
org.apache.cassandra.db.commitlog.CommitLogReader.readCommitLogSegment(CommitLogReader.java:147)
        at 
org.apache.cassandra.db.commitlog.CommitLogReplayer.replayFiles(CommitLogReplayer.java:195)
        at 
org.apache.cassandra.db.commitlog.CommitLog.recoverFiles(CommitLog.java:225)
        at 
org.apache.cassandra.db.commitlog.CommitLog.recoverSegmentsOnDisk(CommitLog.java:206)
        at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:332)
        at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:726)
        at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:876)
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to