Liveness and Repair (#4) trunk
authorBenedict Elliott Smith <benedict@apple.com>
Tue, 28 Jun 2022 09:41:35 +0000 (10:41 +0100)
committerGitHub <noreply@github.com>
Tue, 28 Jun 2022 09:41:35 +0000 (10:41 +0100)
commit9671c16cd28ce58c1218f435273e920f4ae91ac9
tree3c116cce1c16216b10090721d01b437b2c4435e6
parentc04ea346a543b9a8d2dc9efd29f735c29cb67200
Liveness and Repair (#4)

Patch by Benedict; reviewed by Blake Eggleston for CASSANDRA-17096

Co-authored-by: Blake Eggleston <blake@ultrablake.com>
108 files changed:
accord-core/src/main/java/accord/api/Data.java
accord-core/src/main/java/accord/api/DataStore.java [moved from accord-core/src/main/java/accord/api/Store.java with 85% similarity]
accord-core/src/main/java/accord/api/Key.java
accord-core/src/main/java/accord/api/ProgressLog.java [new file with mode: 0644]
accord-core/src/main/java/accord/api/Query.java
accord-core/src/main/java/accord/api/Read.java
accord-core/src/main/java/accord/api/Scheduler.java
accord-core/src/main/java/accord/api/Write.java
accord-core/src/main/java/accord/coordinate/Agree.java
accord-core/src/main/java/accord/coordinate/Agreed.java
accord-core/src/main/java/accord/coordinate/CheckOnCommitted.java [new file with mode: 0644]
accord-core/src/main/java/accord/coordinate/CheckOnUncommitted.java [new file with mode: 0644]
accord-core/src/main/java/accord/coordinate/CheckShardStatus.java [new file with mode: 0644]
accord-core/src/main/java/accord/coordinate/Coordinate.java
accord-core/src/main/java/accord/coordinate/Execute.java
accord-core/src/main/java/accord/coordinate/InformHomeOfTxn.java [new file with mode: 0644]
accord-core/src/main/java/accord/coordinate/MaybeRecover.java [new file with mode: 0644]
accord-core/src/main/java/accord/coordinate/Persist.java [new file with mode: 0644]
accord-core/src/main/java/accord/coordinate/Propose.java [moved from accord-core/src/main/java/accord/coordinate/AcceptPhase.java with 78% similarity]
accord-core/src/main/java/accord/coordinate/Recover.java
accord-core/src/main/java/accord/coordinate/StaleTopology.java [new file with mode: 0644]
accord-core/src/main/java/accord/coordinate/tracking/AbstractQuorumTracker.java
accord-core/src/main/java/accord/coordinate/tracking/AbstractResponseTracker.java
accord-core/src/main/java/accord/coordinate/tracking/FastPathTracker.java
accord-core/src/main/java/accord/coordinate/tracking/QuorumTracker.java
accord-core/src/main/java/accord/coordinate/tracking/ReadTracker.java
accord-core/src/main/java/accord/impl/SimpleProgressLog.java [new file with mode: 0644]
accord-core/src/main/java/accord/local/Command.java
accord-core/src/main/java/accord/local/CommandStore.java
accord-core/src/main/java/accord/local/CommandStores.java
accord-core/src/main/java/accord/local/Node.java
accord-core/src/main/java/accord/local/Status.java
accord-core/src/main/java/accord/messages/Accept.java
accord-core/src/main/java/accord/messages/Apply.java
accord-core/src/main/java/accord/messages/BeginRecovery.java
accord-core/src/main/java/accord/messages/Callback.java
accord-core/src/main/java/accord/messages/CheckStatus.java [new file with mode: 0644]
accord-core/src/main/java/accord/messages/Commit.java
accord-core/src/main/java/accord/messages/EpochRequest.java [new file with mode: 0644]
accord-core/src/main/java/accord/messages/InformOfPersistence.java [new file with mode: 0644]
accord-core/src/main/java/accord/messages/InformOfTxn.java [new file with mode: 0644]
accord-core/src/main/java/accord/messages/MessageType.java
accord-core/src/main/java/accord/messages/PreAccept.java
accord-core/src/main/java/accord/messages/ReadData.java
accord-core/src/main/java/accord/messages/TxnRequest.java
accord-core/src/main/java/accord/messages/WaitOnCommit.java
accord-core/src/main/java/accord/topology/KeyRange.java [moved from accord-core/src/main/java/accord/api/KeyRange.java with 99% similarity]
accord-core/src/main/java/accord/topology/KeyRanges.java
accord-core/src/main/java/accord/topology/Shard.java
accord-core/src/main/java/accord/topology/Topologies.java
accord-core/src/main/java/accord/topology/Topology.java
accord-core/src/main/java/accord/topology/TopologyManager.java
accord-core/src/main/java/accord/txn/Dependencies.java
accord-core/src/main/java/accord/txn/Keys.java
accord-core/src/main/java/accord/txn/Txn.java
accord-core/src/main/java/accord/txn/TxnId.java
accord-core/src/main/java/accord/txn/Writes.java
accord-core/src/main/java/accord/utils/DeterministicIdentitySet.java
accord-core/src/main/java/accord/utils/IndexedIntFunction.java [new file with mode: 0644]
accord-core/src/main/java/accord/utils/IntrusiveLinkedList.java [new file with mode: 0644]
accord-core/src/main/java/accord/utils/IntrusiveLinkedListNode.java [new file with mode: 0644]
accord-core/src/test/java/accord/KeysTest.java
accord-core/src/test/java/accord/Utils.java
accord-core/src/test/java/accord/burn/BurnTest.java
accord-core/src/test/java/accord/burn/TopologyUpdate.java
accord-core/src/test/java/accord/coordinate/CoordinateTest.java
accord-core/src/test/java/accord/coordinate/PreacceptTrackerTest.java
accord-core/src/test/java/accord/coordinate/RecoverTest.java
accord-core/src/test/java/accord/coordinate/TopologyChangeTest.java
accord-core/src/test/java/accord/coordinate/tracking/QuorumTrackerTest.java
accord-core/src/test/java/accord/impl/IntHashKey.java
accord-core/src/test/java/accord/impl/IntKey.java
accord-core/src/test/java/accord/impl/TopologyFactory.java
accord-core/src/test/java/accord/impl/TopologyUtils.java
accord-core/src/test/java/accord/impl/basic/Cluster.java
accord-core/src/test/java/accord/impl/list/ListRead.java
accord-core/src/test/java/accord/impl/list/ListRequest.java
accord-core/src/test/java/accord/impl/list/ListStore.java
accord-core/src/test/java/accord/impl/list/ListUpdate.java
accord-core/src/test/java/accord/impl/list/ListWrite.java
accord-core/src/test/java/accord/impl/mock/EpochSync.java
accord-core/src/test/java/accord/impl/mock/MockCluster.java
accord-core/src/test/java/accord/impl/mock/MockStore.java
accord-core/src/test/java/accord/impl/mock/RecordingMessageSink.java
accord-core/src/test/java/accord/local/CommandStoreTest.java [new file with mode: 0644]
accord-core/src/test/java/accord/local/CommandTest.java
accord-core/src/test/java/accord/messages/PreAcceptTest.java
accord-core/src/test/java/accord/messages/TxnRequestScopeTest.java
accord-core/src/test/java/accord/topology/TopologyManagerTest.java
accord-core/src/test/java/accord/topology/TopologyRandomizer.java
accord-core/src/test/java/accord/topology/TopologyTest.java
accord-core/src/test/java/accord/utils/KeyRangeTest.java
accord-core/src/test/java/accord/utils/KeyRangesTest.java
accord-core/src/test/java/accord/verify/StrictSerializabilityVerifier.java
accord-core/src/test/resources/burn-logback-trace.xml [new file with mode: 0644]
accord-core/src/test/resources/burn-logback.xml
accord-maelstrom/build.gradle
accord-maelstrom/src/main/java/accord/maelstrom/Cluster.java
accord-maelstrom/src/main/java/accord/maelstrom/Json.java
accord-maelstrom/src/main/java/accord/maelstrom/MaelstromKey.java
accord-maelstrom/src/main/java/accord/maelstrom/MaelstromRead.java
accord-maelstrom/src/main/java/accord/maelstrom/MaelstromRequest.java
accord-maelstrom/src/main/java/accord/maelstrom/MaelstromStore.java
accord-maelstrom/src/main/java/accord/maelstrom/MaelstromWrite.java
accord-maelstrom/src/main/java/accord/maelstrom/Main.java
accord-maelstrom/src/main/java/accord/maelstrom/Packet.java
accord-maelstrom/src/main/java/accord/maelstrom/TopologyFactory.java
build.gradle