Michael Semb Wever created CASSANDRA-21767:
----------------------------------------------

             Summary: Accord: first read of untouched key times out
                 Key: CASSANDRA-21767
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21767
             Project: Apache Cassandra
          Issue Type: Bug
          Components: Accord
            Reporter: Michael Semb Wever


On a new cluster I have seen null dereferences of the value returned by  
{{SafeCommandStore.get(RoutingKey)}}, at two call sites:

* {{SafeCommandStore.updateManagedCommandsForKey:521}}, invoking 
{{SafeCommandsForKey.callback}}.
* {{Commands.setDurable:1384}}, invoking {{SafeCommandsForKey.setDurable}} 
through {{InformDurable}}.

{{AbstractSafeCommandStore.canExecute()}} used a non-null reference as proof 
that a key was ready. Incremental Cassandra tasks retain references for keys 
outside their current initialised batch. Those references pass the presence 
check but {{SafeCommandStore.get(key)}} returns {{null}}.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to