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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

