This is an automated email from the ASF dual-hosted git repository. dcapwell pushed a change to branch cep-15-accord in repository https://gitbox.apache.org/repos/asf/cassandra.git
discard 7be53d514e fixing post-rebase checkstyle problems discard 0acf29f6ae Accord: test fixes and stability improvements * Fix short accord simulation test (seed 0x6bea128ae851724b), ConcurrentModificationException * Increase wait time during closing to avoid Unterminated threads * Increase timeouts, improve test stability * More descriptive output from CQL test * Shorten max CMS delay * Improve future handling in config service discard 44b8cd26a1 Fix: - Accord Journal purging was disabled - remove unique_id from schema keyspace - avoid String.format in Compactor hot path - avoid string concatenation on hot path; improve segment compactor partition build efficiency - Partial compaction should update records in place to ensure truncation of discontiguous compactions do not lead to an incorrect field version being used - StoreParticipants.touches behaviour for RX was erroneously modified; should touch all no [...] discard fbaf72fb99 Decouple Accord serializers from C* message version so accord can make changes without impacting C* messaging discard 98e2d8c47c Accord repin: turn pruning back on discard 60df5fd1a7 Fix: - Decouple command serialization from TableMetadata version; introduce ColumnMetadata ids; gracefully handle missing TableId - DataInputPlus.readLeastSignificantBytes must truncate high bits - Fix RandomPartitioner accord serialization - Fast path stable commits must not override recovery propose/commit decisions regarding visibility of a transaction - RejectBefore must mergeMax, not merge, to ensure we maintain epoch and hlc increasing independently - Bad c [...] discard 06e9aaf9fd Topology mixup tests should do repairs for host replacement and other required topology changes discard e9b0a8aa61 Implement Nemesis compactor, improve partial compaction discard 35bd997b47 Epoch/Topology Garbage Collection discard 7285a39070 When bootstrap fails the retry field is not populated which leads to a NPE discard 48c2c92c45 InterceptingExecutor.schedule returns a simulator-unsafe Future discard 0c2f5ae05d Add initial Accord Overview Doc discard eac6b7a9f8 Integrate RX with Cassandra Repair, so that repair safely flushes pending topology and other durability requirements. Also improve: - Introduce DurabilityService - Retire SyncPoint, replace Barrier with Write and RX - MessageType -> enum, restore GetMaxConflict - Standardise backoff logic with WaitStrategy - improve TimeoutStrategy/RetryStrategy specification strings - Forbid KX, remove directKeyDeps - Introduce UniqueTimeService, permitting hlc reservations for [...] discard cc399c49e2 Accord fixes: - Bad ArrayBuffers recycling logic - RX must ensure dependencies TRANSITIVE_VISIBLE - Permit constructing "antiRange" that spans multiple prefixes - Not computing range CommandSummary IsDep correctly - Truncated commands that aren't shard durable could not repopulate CFK on replay, permitting recovery of another command to make an incorrect decision - NPE on async persist of RX (i.e. supplying no callback) - NPE in Builder.shouldCleanup when durabi [...] discard 41c474912c Fix: - Only use persisted RedundantBefore for compaction - RouteIndex should index only touches, not Route - Flush RangesForEpoch updates to journal immediately, so we do not rely on the command we are processing succeeding - DurableBefore updates must wait for the epochs to be known locally - Shard.mustWitnessEpoch to support guaranteeing to witness relevant non-topology schema changes - We must propagate RedundantBefore RX shard bounds along with epoch syncs - [...] discard 6a966bb020 Accord: Serialization Improvements discard 662fffd476 Improve stability of tests with many epochs discard 13760a2766 Fix AccordMigrationTest, preclude possible races in topology propagation discard 2fddaa4186 (Accord) Fix recovery when one shard is committed/stable and another is preaccepted Also fix: - Topology slicing must declare whether we share/slice node ownership (to assist above) - CFK.visit removes transitive dependencies too eagerly across epoch change - apply cleanup to builder consistently, and construct the same value we would produce by purge (so that replay is idempotent) - Invoke ExecuteTxn.LocalExecute callbacks on originating CommandStore - misc other [...] discard 5018d2e9a5 Fix flakey test org.apache.cassandra.simulator.test.ShortPaxosSimulationTest#casOnAccordSimulationTest discard bc5d110b42 Expose epoch ready state as a vtable for operators to inspect things discard 9b526b0e62 Fix null field accounting discard 5dfb75e2b3 Fix topology loading discard 6b619c549f Accord: TableParamsTest is flakey due to bad generators and production validation logic missed the argument to String.format causing confusing errors discard 06d7ca4e00 Fixed an issue where table walk and token conflict mutations would use server timestamps which made multinode tests unstable discard f4bbdcee24 Add @Ignore to failing tests while we triage discard 41e1c617b8 Fix: - Even if we can decide autonomously that we took the fast path, we must still wait for earlier transactions to decide themselves - We must update a command that is in CFK.loadingPruned whether or not it is outOfRange - We must visit pruned commands that are transitive dependencies of RX to ensure dependencies are propagated - flagsWithoutDomainAndKind() -> flagsWithoutDomainOrKindOrCardinality() [to fix integration regression] - Don't invoke uniqueNow() twic [...] discard 258fbe3c04 Avoid double loading in Cassandra side of journal; make sure to include records appended to journal. discard bef5db6dc9 Accord: jvm-dtest changed semantics of uncaughtExceptions handling which broke tests that depended on the prior semantics discard 3575cb2816 When generating AbstractTypeGenerators.safeTypeGen() for tests composite types limit depth but collections didnt discard b0932fecb6 Refactor RedundantStatus to encode vector of states that can be merged independently Also fix: - Truncate command on first access, without participants - Use Ballot.ZERO when invoking CFK.insertOutOfRange where appropriate - Don't supply a command's own route to ProgressLog.waiting to ensure new keys are incorporated - Ensure progress in CommandsForKey by setting vestigial commands to ERASED - Add any missing owned keys to StoreParticipants.route to ensure fetch c [...] discard 4d02c31321 Improve topology fetching discard 2508ec4b92 To improve accord interoperability test coverage, need to extend the harry model domain to handle more possible CQL states discard c81395fdf9 Follow-up to CASSANDRA-20222: - Implement missing parts of protocol optimisations, refine some particulars and remove MEDIUM_PATH_WAIT_ON_RECOVERY Also fix: - Deps.txnIds -> Deps.txnIdsWithFlags to make clear unsafety, and validate Command isn't created with flags - Save a lossy low/high epoch we're waiting on in WaitingState so that we can reconstruct the same Route on callback - Load any potentially invalidated commands we had in ProgressLog to ensure they are ma [...] discard 8d8feb3432 Fix TxnNamedRead discarding paging state discard cff13fae6f Fix paging with Accord range reads discard e86578b389 Fix ShortAccordSimulationTest discard 45b2c0d4bb Live migration for non-serial reads discard 26ce4d1769 Fix empty LatestDepsSerializer discard d89bd0ce31 Follow-up to CASSANDRA-20228: - Fix waiting state callback computes different route to initiator - Invariants.checkX -> Invariants.requireX (to allow complementary Invariants.expectX as appropriate) discard 8f23e346cd Fix testClearSnapshot_RemoveMultiple discard 8c31349835 Fix "modifiers" missing field exception on JDK17 discard 8e15d84095 Agree a distributed uniqueHlc to use for Apply - detect and save whether RX can be used as a GC bound for HLCs - have RX durably record if they witnessed any superseding epoch and use this for HLC GC - rework GC to retain applyAt for writes discard 08e5e1c5b9 Fix race condition in AccordExecutor#cancelExclusive discard 034cf3d987 Fix Simulator Tests discard b2ff742959 Fix deps serializers discard d19b415c09 Remove Journal record ownership tags functionality discard db20551d79 Migrate route index from commands table to journal, and drop the commands table discard b247f0d503 Protocol optimisations: - Privileged coordinator. If the coordinator is a replica we can reduce our quorum sizes by including the coordinator's vote. - with deps: if we include coordinator's preaccept deps we can reliably reduce quorum size by 1, at the expense of recovery sometimes requiring additional phases and waiting for future txns - with only vote: if we only include the vote we can avoid any additional recovery phases or waiting for future txns, but can [...] discard 875fdeb5bb Fix ForceSnapshotTest discard b97cde6abf Fix CoordinatorReadLatencyMetricTest discard 007ea7d1b4 Fix serialization order for topology updates discard 195eb0c458 Fix problem with iteration order in AccordJournal discard 15b632863b FetchRequest should report as unavailable any slice that executes in a later epoch that is not owned by the replicas discard cd15538b96 Fix topology replay during bootstrap and startup, decouple Accord from TCM discard 88e26458b5 Refactor the ast package to enable harry model based testing discard bdfc574a35 Migrate in memory journal to CommandChange logic shared with AccordJournal discard 60b77f815a Remove TimestampsForKey discard 2279f98a07 Fixes - Fix notifying unmanaged after update redundant before/bootstrap - Do not infer invalid if we have a single round of replies with minKnown not decided and maxKnown erased - in this case store the knowledge for next request. - Fix SyncPoint topology selection - Fix CheckStatusOkFull.with(InvalidIf) - Fix NotifyWaitingOn - ExecuteTxn should only contact latest topology for follow-up requests - DurableBefore.min should not go [...] discard 0c6096de0f Fix Accord SAI tests and Accord double apply discard eec04828a4 Implement field saving/loading in AccordJournal discard d4c12f4f90 TCM's Retry.Deadline#retryIndefinitely is dangerous if used with RemoteProcessor as the deadline does not impact message retries discard 0c548bff39 Accord simulation test failing with "ClassNotFoundException: WARN [AccordExecutor[1,0]" discard 38d4194d4a Fix infinite loop, and notify progress log of sync point durability while waiting to apply discard cea03592c8 Semi integrate burn test: discard c1a49a8e47 Fix restartWithEpochChanges test; make CMS nodes first gossip with CMS nodes discard 92585f890b Make it easier to reuse generators, make Harry more extensible and accord-proof, refactor Harry's major subsystems discard 9d34730b0a Accord: Fix unit tests and improve burn test stability discard ece17277f1 Key transaction recovery should witness range transactions discard 36633e6438 Fix AbstractKeys.without (and CoordinateEphemeralRead execution in future epoch) discard 2094467562 Set Accord debug tables partitioner to LocalPartitioner discard a8546bf336 Non-serial reads and range reads without live migration support discard 126b6cd44f Implement missing virtual tables for Accord debugging discard 2cd0531063 Split accord migration into two phases discard 0f4ca9e9bb Accord's ConfigService lock is held over large areas which cause deadlocks and performance issues discard baca2b5b2b Improvements to queueing, execution and performance discard 77c3949126 Miscellaneous migration test fixes discard 556aa1ec69 Get Harry working on top of Accord and fix various issues found by TopologyMixupTestBase discard 0a2fd53d75 Use ExclusiveSyncPoints to join a new topology discard 7d6dec802d Accord Deps tests have incorrect range semantics discard c77cb60dae Check for splittable ranges discard 79fab17b22 TopologyMixupTestBase does not fix replication factor for Keyspaces after reaching rf=3 discard f7872eb0f4 Accord should block currently unsafe operations discard 79e840c9bb Accord metrics are isolated which cause existing coordination metrics to be empty, should also populate there as well discard e2032a6732 Fix CASTest discard 67bc382108 Shut down scheduler with "now" Fix NPE in MockJournal on null onFlush Fix SavedCommandTest. After the serialization change that serializes "changed" before "is null", null flag can no be written. discard 579868e8ed Accord should not block partition restricted index queries discard 02410e34b4 Add bounce to load test discard 7e727d49af load historical transactions when loading topology discard fb624aee34 AccordJournalPurger should use shouldCleanupPartial discard 36409115eb Store historical transactions per epoch update durability scheduling and majority deps fetching do not deserialize deps in CommandsForRangesLoader unless required discard 8a2a5fa264 do not schedule additional durability attempts while some in flight; plus minor performance improvements discard d327991eb7 disable TableId interning discard 2de4f35514 increase timeout for CalculateDepsReq discard a30050cfb3 Ninja: fast path now updates after 3600s rather than 60s. discard f64a94b619 Follow-up to: Do not contact faulty replicas, and support reporting slow replies for preaccept/read. Do not wait for stale or left nodes for durability. discard 4213f18708 Ninja: fast path now updates after 60s rather than 5s. Added toString to ReconfigureAccordFastPath so the TCM logs/table gives the debug info needed discard ed4916fa73 Fix truncatedApply deserialization discard 9c41fea90d Journal diff serialization: validateFlags and WaitingOn size discard 1fa6346bf1 Enable and test purging discard d4105e0e94 Halve cache memory consumption by not retaining 'original' to diff; dedup RoutingKey tableId; avoid calculating rejectsFastPath in more cases; delay retry of fetchMajorityDeps; fix SetShardDurable marking shards durable discard 358eb2608e ExclusiveSyncPoints should always wait for a simple quorum discard 6c2906c662 Fix condition on where we shut down accord; move scheduled executor shutdown until after MS. discard 7b63645474 visit journal backwards to save time parsing don't load range commands that are redundant, and load least possible use MISC verb handler for maintenance tasks discard 8914179021 ninja: increase durability scheduling delays ninja: fix NPE disable ephemeral reads discard a8403babd5 Accord: Share DurableBefore between CommandStores discard 83a4e368ce Follow-up to CASSANDRA-19967 and CASSANDRA-19869 discard e569aa5017 ninja: Fix AcceptSerializer discard be58c71a2b ninja: fix CFK serializer discard 6a815b8a52 Support Restart node in Accord discard 8c7c4475f3 Add purging to Accord Journal table discard 382923dcf6 Ninja: Repin accord discard cd5660aabd improve AccordLoadTest to support more keys discard 62baac7eeb CASSANDRA-19967: Refine epoch quorum intersections, sync points, conflict relations and outcome inference discard d15bf60318 Implement Journal replay on startup: * reconstruct CFK, TFK, progressLog * migrate CommandStore collection state from Accord table to the log * make memtable writes non-durable; reconstruct memtable state from Writes discard db03dcef1c ninja: handle serialization of truncated accept responses discard 78a9795ec0 Change MaxConflicts to use a BTree under the hood discard 714691aead This commits contains the following two patches in order to reduce the amount of conflicts resolution necessary for future rebasing: new 0462ca05f2 This commits contains the following two patches in order to reduce the amount of conflicts resolution necessary for future rebasing: new 3e3018fa31 Change MaxConflicts to use a BTree under the hood new 4bbb9628aa ninja: handle serialization of truncated accept responses new c2fbb422bd Implement Journal replay on startup: * reconstruct CFK, TFK, progressLog * migrate CommandStore collection state from Accord table to the log * make memtable writes non-durable; reconstruct memtable state from Writes new f23cb632de CASSANDRA-19967: Refine epoch quorum intersections, sync points, conflict relations and outcome inference new 71e9238b68 improve AccordLoadTest to support more keys new 625b0d9e5f Ninja: Repin accord new 7172da551e Add purging to Accord Journal table new 540e20dab8 Support Restart node in Accord new c5583a1aee ninja: fix CFK serializer new 383fb94a5f ninja: Fix AcceptSerializer new 36ccd1db82 Follow-up to CASSANDRA-19967 and CASSANDRA-19869 new f797878aa3 Accord: Share DurableBefore between CommandStores new 10c6ba1e2d ninja: increase durability scheduling delays ninja: fix NPE disable ephemeral reads new 6fa27dc5b9 visit journal backwards to save time parsing don't load range commands that are redundant, and load least possible use MISC verb handler for maintenance tasks new 4db862ac1a Fix condition on where we shut down accord; move scheduled executor shutdown until after MS. new 20e67bd7f5 ExclusiveSyncPoints should always wait for a simple quorum new f71aa0a9ba Halve cache memory consumption by not retaining 'original' to diff; dedup RoutingKey tableId; avoid calculating rejectsFastPath in more cases; delay retry of fetchMajorityDeps; fix SetShardDurable marking shards durable new 21fa53744a Enable and test purging new ca127c1486 Journal diff serialization: validateFlags and WaitingOn size new 789211b9d5 Fix truncatedApply deserialization new a585835b77 Ninja: fast path now updates after 60s rather than 5s. Added toString to ReconfigureAccordFastPath so the TCM logs/table gives the debug info needed new 09723effd6 Follow-up to: Do not contact faulty replicas, and support reporting slow replies for preaccept/read. Do not wait for stale or left nodes for durability. new cde53cdd1a Ninja: fast path now updates after 3600s rather than 60s. new 2b5d4527c0 increase timeout for CalculateDepsReq new d26867fee3 disable TableId interning new b395be27d3 do not schedule additional durability attempts while some in flight; plus minor performance improvements new d03ba339db Store historical transactions per epoch update durability scheduling and majority deps fetching do not deserialize deps in CommandsForRangesLoader unless required new f3b7362b1a AccordJournalPurger should use shouldCleanupPartial new 91da288387 load historical transactions when loading topology new 6bbf99dfa4 Add bounce to load test new 8226590392 Accord should not block partition restricted index queries new 59dd0b6e81 Shut down scheduler with "now" Fix NPE in MockJournal on null onFlush Fix SavedCommandTest. After the serialization change that serializes "changed" before "is null", null flag can no be written. new 3e02b5178a Fix CASTest new 0cf0aabaf6 Accord metrics are isolated which cause existing coordination metrics to be empty, should also populate there as well new 771a6f6542 Accord should block currently unsafe operations new 1ad3651a7d TopologyMixupTestBase does not fix replication factor for Keyspaces after reaching rf=3 new 8cda9c9728 Check for splittable ranges new b5542df745 Accord Deps tests have incorrect range semantics new 4f83c754c6 Use ExclusiveSyncPoints to join a new topology new f45daf5dd8 Get Harry working on top of Accord and fix various issues found by TopologyMixupTestBase new 724bced6fa Miscellaneous migration test fixes new b5faeae480 Improvements to queueing, execution and performance new a5dd6f9eaf Accord's ConfigService lock is held over large areas which cause deadlocks and performance issues new ba5b5979f5 Split accord migration into two phases new 80854d8657 Implement missing virtual tables for Accord debugging new c9d4ffb7bc Non-serial reads and range reads without live migration support new 6ed6f2e8d7 Set Accord debug tables partitioner to LocalPartitioner new 4c86dd7fb4 Fix AbstractKeys.without (and CoordinateEphemeralRead execution in future epoch) new b9913055ae Key transaction recovery should witness range transactions new 885fd71ad9 Accord: Fix unit tests and improve burn test stability new c4aaa722c0 Make it easier to reuse generators, make Harry more extensible and accord-proof, refactor Harry's major subsystems new eb80e7e996 Fix restartWithEpochChanges test; make CMS nodes first gossip with CMS nodes new b8caf086ae Semi integrate burn test: new 08612da746 Fix infinite loop, and notify progress log of sync point durability while waiting to apply new 6076428d72 Accord simulation test failing with "ClassNotFoundException: WARN [AccordExecutor[1,0]" new 75edf657a6 TCM's Retry.Deadline#retryIndefinitely is dangerous if used with RemoteProcessor as the deadline does not impact message retries new 6f963657dd Implement field saving/loading in AccordJournal new 0a58b04907 Fix Accord SAI tests and Accord double apply new 4f4478c4e2 Fixes - Fix notifying unmanaged after update redundant before/bootstrap - Do not infer invalid if we have a single round of replies with minKnown not decided and maxKnown erased - in this case store the knowledge for next request. - Fix SyncPoint topology selection - Fix CheckStatusOkFull.with(InvalidIf) - Fix NotifyWaitingOn - ExecuteTxn should only contact latest topology for follow-up requests - DurableBefore.min should not go [...] new 05c0927e70 Remove TimestampsForKey new bb28f9f1ba Migrate in memory journal to CommandChange logic shared with AccordJournal new c311dcfc5d Refactor the ast package to enable harry model based testing new 7fbaf38f71 Fix topology replay during bootstrap and startup, decouple Accord from TCM new 4941180c38 FetchRequest should report as unavailable any slice that executes in a later epoch that is not owned by the replicas new 87cccbbb06 Fix problem with iteration order in AccordJournal new 64bce3701f Fix serialization order for topology updates new fc25cbb6f7 Fix CoordinatorReadLatencyMetricTest new 35d49471e3 Fix ForceSnapshotTest new 91788efcfd Protocol optimisations: - Privileged coordinator. If the coordinator is a replica we can reduce our quorum sizes by including the coordinator's vote. - with deps: if we include coordinator's preaccept deps we can reliably reduce quorum size by 1, at the expense of recovery sometimes requiring additional phases and waiting for future txns - with only vote: if we only include the vote we can avoid any additional recovery phases or waiting for future txns, but can [...] new 224842c360 Migrate route index from commands table to journal, and drop the commands table new ab2a8d4d5d Remove Journal record ownership tags functionality new aeee9a58a6 Fix deps serializers new 08c06d6976 Fix Simulator Tests new cef93dadd7 Fix race condition in AccordExecutor#cancelExclusive new 9156bdc43e Agree a distributed uniqueHlc to use for Apply - detect and save whether RX can be used as a GC bound for HLCs - have RX durably record if they witnessed any superseding epoch and use this for HLC GC - rework GC to retain applyAt for writes new 6420f00259 Fix "modifiers" missing field exception on JDK17 new 914c08f15a Fix testClearSnapshot_RemoveMultiple new 5259330038 Follow-up to CASSANDRA-20228: - Fix waiting state callback computes different route to initiator - Invariants.checkX -> Invariants.requireX (to allow complementary Invariants.expectX as appropriate) new 72d696344f Fix empty LatestDepsSerializer new dd667f01ad Live migration for non-serial reads new 9242bbbb0b Fix ShortAccordSimulationTest new 14d6bb9a34 Fix paging with Accord range reads new 7c490c2c76 Fix TxnNamedRead discarding paging state new e13146a662 Follow-up to CASSANDRA-20222: - Implement missing parts of protocol optimisations, refine some particulars and remove MEDIUM_PATH_WAIT_ON_RECOVERY Also fix: - Deps.txnIds -> Deps.txnIdsWithFlags to make clear unsafety, and validate Command isn't created with flags - Save a lossy low/high epoch we're waiting on in WaitingState so that we can reconstruct the same Route on callback - Load any potentially invalidated commands we had in ProgressLog to ensure they are ma [...] new fdd6d450a5 To improve accord interoperability test coverage, need to extend the harry model domain to handle more possible CQL states new 4d66a9411f Improve topology fetching new 5162426d8f Refactor RedundantStatus to encode vector of states that can be merged independently Also fix: - Truncate command on first access, without participants - Use Ballot.ZERO when invoking CFK.insertOutOfRange where appropriate - Don't supply a command's own route to ProgressLog.waiting to ensure new keys are incorporated - Ensure progress in CommandsForKey by setting vestigial commands to ERASED - Add any missing owned keys to StoreParticipants.route to ensure fetch c [...] new be616c285e When generating AbstractTypeGenerators.safeTypeGen() for tests composite types limit depth but collections didnt new 03586d793d Accord: jvm-dtest changed semantics of uncaughtExceptions handling which broke tests that depended on the prior semantics new 8b2b043572 Avoid double loading in Cassandra side of journal; make sure to include records appended to journal. new ff9817ed31 Fix: - Even if we can decide autonomously that we took the fast path, we must still wait for earlier transactions to decide themselves - We must update a command that is in CFK.loadingPruned whether or not it is outOfRange - We must visit pruned commands that are transitive dependencies of RX to ensure dependencies are propagated - flagsWithoutDomainAndKind() -> flagsWithoutDomainOrKindOrCardinality() [to fix integration regression] - Don't invoke uniqueNow() twic [...] new fcf941da0b Add @Ignore to failing tests while we triage new 5c8f9cd858 Fixed an issue where table walk and token conflict mutations would use server timestamps which made multinode tests unstable new 81b3b26f37 Accord: TableParamsTest is flakey due to bad generators and production validation logic missed the argument to String.format causing confusing errors new eaecfb565f Fix topology loading new fc5227120a Fix null field accounting new cbc89c3539 Expose epoch ready state as a vtable for operators to inspect things new d7d50824fd Fix flakey test org.apache.cassandra.simulator.test.ShortPaxosSimulationTest#casOnAccordSimulationTest new 66335fff2f (Accord) Fix recovery when one shard is committed/stable and another is preaccepted Also fix: - Topology slicing must declare whether we share/slice node ownership (to assist above) - CFK.visit removes transitive dependencies too eagerly across epoch change - apply cleanup to builder consistently, and construct the same value we would produce by purge (so that replay is idempotent) - Invoke ExecuteTxn.LocalExecute callbacks on originating CommandStore - misc other [...] new 1e264a5e52 Fix AccordMigrationTest, preclude possible races in topology propagation new 12657d35c3 Improve stability of tests with many epochs new 39c3f786c6 Accord: Serialization Improvements new 6341d983ff Fix: - Only use persisted RedundantBefore for compaction - RouteIndex should index only touches, not Route - Flush RangesForEpoch updates to journal immediately, so we do not rely on the command we are processing succeeding - DurableBefore updates must wait for the epochs to be known locally - Shard.mustWitnessEpoch to support guaranteeing to witness relevant non-topology schema changes - We must propagate RedundantBefore RX shard bounds along with epoch syncs - [...] new 4b23a1ddde Accord fixes: - Bad ArrayBuffers recycling logic - RX must ensure dependencies TRANSITIVE_VISIBLE - Permit constructing "antiRange" that spans multiple prefixes - Not computing range CommandSummary IsDep correctly - Truncated commands that aren't shard durable could not repopulate CFK on replay, permitting recovery of another command to make an incorrect decision - NPE on async persist of RX (i.e. supplying no callback) - NPE in Builder.shouldCleanup when durabi [...] new 7b6bc62877 Integrate RX with Cassandra Repair, so that repair safely flushes pending topology and other durability requirements. Also improve: - Introduce DurabilityService - Retire SyncPoint, replace Barrier with Write and RX - MessageType -> enum, restore GetMaxConflict - Standardise backoff logic with WaitStrategy - improve TimeoutStrategy/RetryStrategy specification strings - Forbid KX, remove directKeyDeps - Introduce UniqueTimeService, permitting hlc reservations for [...] new 6850eb19e3 Add initial Accord Overview Doc new 0d557af29b InterceptingExecutor.schedule returns a simulator-unsafe Future new 401009f5d4 When bootstrap fails the retry field is not populated which leads to a NPE new f941823cae Epoch/Topology Garbage Collection new 7e86999d99 Implement Nemesis compactor, improve partial compaction new 825acec2ff Topology mixup tests should do repairs for host replacement and other required topology changes new 48515fe143 Fix: - Decouple command serialization from TableMetadata version; introduce ColumnMetadata ids; gracefully handle missing TableId - DataInputPlus.readLeastSignificantBytes must truncate high bits - Fix RandomPartitioner accord serialization - Fast path stable commits must not override recovery propose/commit decisions regarding visibility of a transaction - RejectBefore must mergeMax, not merge, to ensure we maintain epoch and hlc increasing independently - Bad c [...] new 336404c8e3 Accord repin: turn pruning back on new 30a458e399 Decouple Accord serializers from C* message version so accord can make changes without impacting C* messaging new 0d30627155 Fix: - Accord Journal purging was disabled - remove unique_id from schema keyspace - avoid String.format in Compactor hot path - avoid string concatenation on hot path; improve segment compactor partition build efficiency - Partial compaction should update records in place to ensure truncation of discontiguous compactions do not lead to an incorrect field version being used - StoreParticipants.touches behaviour for RX was erroneously modified; should touch all no [...] new 297a424ec4 Accord: test fixes and stability improvements * Fix short accord simulation test (seed 0x6bea128ae851724b), ConcurrentModificationException * Increase wait time during closing to avoid Unterminated threads * Increase timeouts, improve test stability * More descriptive output from CQL test * Shorten max CMS delay * Improve future handling in config service new de9925f81a fixing post-rebase checkstyle problems This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (7be53d514e) \ N -- N -- N refs/heads/cep-15-accord (de9925f81a) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 118 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: test/unit/org/apache/cassandra/service/accord/EpochSyncTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org