[
https://issues.apache.org/jira/browse/CASSANDRA-21112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18050962#comment-18050962
]
David Capwell commented on CASSANDRA-21112:
-------------------------------------------
||Repo||Branch||Parent Branch||SHA||Status||
|https://github.com/dcapwell/cassandra.git|trunk|trunk|c5b49a68fad55255964b1368e4a059eb4b07c38c|Unstable
Failed Builds:
||Build||Result||Reason||
| jvm-dtest-simulator | fail | Test
org.apache.cassandra.simulator.test.ShortAccordSimulationTest::simulationTest-cassandra.testtag
|
| jvm-utests-latest | fail | Test
org.apache.cassandra.index.accord.RouteIndexTest::test-cassandra.testtag_IS_UNDEFINED
had an er |
| jvm11-dtests | fail | Test
org.apache.cassandra.distributed.test.accord.AccordMoveTest::moveTest-_jdk11
failed,Test org.ap |
| jvm11-dtests-fuzz | fail | Test
org.apache.cassandra.fuzz.topology.AccordBootstrapTest::bootstrapFuzzTest-_jdk11
failed |
| jvm11-utests | fail | Test
org.apache.cassandra.index.accord.RouteIndexTest::test-cassandra.testtag_IS_UNDEFINED
had an er |
| jvm17-dtests | fail | Test
org.apache.cassandra.distributed.test.accord.AccordMoveTest::moveTest-_jdk17
failed,Test org.ap |
| jvm17-dtests-fuzz | fail | Test
org.apache.cassandra.fuzz.topology.AccordBootstrapTest::bootstrapFuzzTest-_jdk17
failed |
| jvm17-utests | fail | Test
org.apache.cassandra.index.accord.RouteIndexTest::test-cassandra.testtag_IS_UNDEFINED
had an er |
| python-dtests | fail | Test
gossip_test.TestGossip::gossip_test.py::TestGossip::test_2dc_parallel_startup
failed,Test gossi |
| python-dtests-latest | fail | Test
gossip_test.TestGossip::gossip_test.py::TestGossip::test_2dc_parallel_startup
failed,Test boots |
| python-upgrade-dtests | fail | Test
upgrade_tests.upgrade_through_versions_test.TestProtoV5Upgrade_AllVersions_RandomPartitioner_En
|
| python-upgrade-dtests-large | fail | Test
upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD::u
|
> NPE when trying to use CAS on local system tables
> -------------------------------------------------
>
> Key: CASSANDRA-21112
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21112
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Accord
> Reporter: David Capwell
> Assignee: David Capwell
> Priority: Normal
> Fix For: 6.x
>
> Attachments:
> ci_summary-trunk-c5b49a68fad55255964b1368e4a059eb4b07c38c.html,
> result_details-trunk-c5b49a68fad55255964b1368e4a059eb4b07c38c.tar.gz
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When we are doing a CAS operation we need to figure out what protocol is
> used, and if the table isn’t known to TCM we fall back to paxos. This
> happens when you call local system tables as they are not in TCM, but the
> return was missed so we try to infer the protocol from the null TableMetadata
> and fail with a NPE
> {code}
> ERROR [Native-Transport-Requests-1] 2026-01-08T21:50:08,918
> ErrorMessage.java:486 - Unexpected exception during request
> java.lang.NullPointerException: null
> at
> org.apache.cassandra.service.consensus.migration.ConsensusRequestRouter.routeAndMaybeMigrate(ConsensusRequestRouter.java:216)
> at
> org.apache.cassandra.service.consensus.migration.ConsensusRequestRouter.routeAndMaybeMigrate(ConsensusRequestRouter.java:195)
> at
> org.apache.cassandra.service.StorageProxy.consensusRouting(StorageProxy.java:2195)
> at org.apache.cassandra.service.StorageProxy.cas(StorageProxy.java:387)
> at
> org.apache.cassandra.cql3.statements.ModificationStatement.executeWithCondition(ModificationStatement.java:672)
> at
> org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:630)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]