You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "bdeggleston (via GitHub)" <gi...@apache.org> on 2023/02/07 23:55:13 UTC

[GitHub] [cassandra-accord] bdeggleston commented on pull request #33: Immutable state

bdeggleston commented on PR #33:
URL: https://github.com/apache/cassandra-accord/pull/33#issuecomment-1421664976

   What about making Command more of a state container? Something like AtomicReference, where there is no more than one instance in memory for a given Command/CommandStore, and the ‘actual’ state it contains is immutable and updated atomically. That would mostly eliminate the concerns and additional state required to protect against making decisions with stale state.


-- 
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