You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "michaelsembwever (via GitHub)" <gi...@apache.org> on 2026/10/17 13:58:44 UTC
[PR] Require initialised key references in canExecute [cassandra-accord]
michaelsembwever opened a new pull request, #292:
URL: https://github.com/apache/cassandra-accord/pull/292
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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org