Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18224

CEP-15 (C*) No commandsForKey in context for key PartitionKey

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • NA
    • Accord
    • None
    • All
    • None

    Description

      See https://app.circleci.com/pipelines/github/maedhroz/cassandra/688/workflows/84cb0f28-d010-43c6-97cb-55af4a31a3ce/jobs/6554/tests#failed-test-0

      ERROR [CommandStore[25]:1] node1 CS:[25] OP:0xe17e624f 2023-02-02 19:46:44,764 Operation AsyncOperation{RUNNING}-0xe17e624f failed
      java.lang.IllegalArgumentException: No commandsForKey in context for key PartitionKey{tableId=dbb35709-2b11-38b3-9fcb-9a197512080e, key=DecoratedKey(5414964737888519087, 242cad05)}
      	at org.apache.cassandra.service.accord.AccordCommandStore.getCommandsForKeyInternal(AccordCommandStore.java:442)
      	at org.apache.cassandra.service.accord.AccordCommandStore$SafeAccordCommandStore.commandsForKey(AccordCommandStore.java:204)
      	at org.apache.cassandra.service.accord.AccordCommandStore$SafeAccordCommandStore.lambda$register$1(AccordCommandStore.java:190)
      	at accord.primitives.Routables$Helper.foldl(Routables.java:282)
      	at accord.primitives.Routables.foldl(Routables.java:134)
      	at org.apache.cassandra.service.accord.AccordCommandStore$SafeAccordCommandStore.register(AccordCommandStore.java:190)
      	at accord.local.Command.set(Command.java:1015)
      	at accord.local.Command.commit(Command.java:377)
      	at accord.messages.Commit.apply$unsync(Commit.java:152)
      	at accord.messages.Commit.apply(Commit.java)
      	at accord.messages.Commit.apply(Commit.java:40)
      	at org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:239)
      	at org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:226)
      	at org.apache.cassandra.service.accord.async.AsyncOperation.runInternal(AsyncOperation.java:154)
      	at org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:194)
      	at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
      	at org.apache.cassandra.concurrent.SyncFutureTask.run(SyncFutureTask.java:68)
      	at org.apache.cassandra.simulator.systems.InterceptingExecutor$AbstractSingleThreadedExecutorPlus.lambda$new$0(InterceptingExecutor.java:584)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dcapwell David Capwell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: