This is an automated email from the ASF dual-hosted git repository. benedict pushed a change to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git.
from f47e4b2 Flaky GrantAndRevokeTest new 31bea0b [CEP-10] Cluster and Code Simulations: Minor fixes new eae581a [CEP-10] Cluster and Code Simulations: Minor improvements new 209c35a [CEP-10] Phase 4: Cluster and Code Simulation The 3 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: build.xml | 167 +++- ide/idea-iml-file.xml | 3 + .../cassandra/auth/CassandraRoleManager.java | 2 +- .../apache/cassandra/cache/AutoSavingCache.java | 1 - .../cassandra/concurrent/ImmediateExecutor.java | 4 + .../cassandra/concurrent/InfiniteLoopExecutor.java | 17 + .../cassandra/concurrent/NamedThreadFactory.java | 2 +- .../concurrent/ScheduledExecutorPlus.java | 24 + .../ScheduledThreadPoolExecutorPlus.java | 27 + .../cassandra/concurrent/SyncFutureTask.java | 5 +- .../config/CassandraRelevantProperties.java | 2 + .../cassandra/config/DatabaseDescriptor.java | 4 + .../cql3/statements/BatchUpdatesCollector.java | 2 +- .../org/apache/cassandra/db/ColumnFamilyStore.java | 2 +- src/java/org/apache/cassandra/db/Directories.java | 1 - src/java/org/apache/cassandra/db/Keyspace.java | 2 +- src/java/org/apache/cassandra/db/Mutation.java | 2 +- src/java/org/apache/cassandra/db/ReadCommand.java | 2 +- .../cassandra/db/ReadExecutionController.java | 2 +- src/java/org/apache/cassandra/db/ReadResponse.java | 1 - .../org/apache/cassandra/db/SystemKeyspace.java | 1 - .../cassandra/db/WindowsFailedSnapshotTracker.java | 2 - .../db/commitlog/AbstractCommitLogService.java | 3 +- .../commitlog/CommitLogSegmentManagerStandard.java | 1 - .../apache/cassandra/db/compaction/Scrubber.java | 1 - .../apache/cassandra/db/compaction/Verifier.java | 11 +- .../compaction/writers/CompactionAwareWriter.java | 1 - .../apache/cassandra/db/lifecycle/LogRecord.java | 1 - .../cassandra/db/monitoring/MonitorableImpl.java | 2 +- .../cassandra/db/monitoring/MonitoringTask.java | 2 +- .../org/apache/cassandra/gms/EndpointState.java | 1 - .../org/apache/cassandra/gms/FailureDetector.java | 4 +- .../org/apache/cassandra/gms/GossipDigest.java | 1 - .../org/apache/cassandra/gms/GossipDigestAck2.java | 1 - .../org/apache/cassandra/gms/GossipDigestSyn.java | 1 - .../org/apache/cassandra/gms/HeartBeatState.java | 1 - .../org/apache/cassandra/gms/TokenSerializer.java | 3 - .../org/apache/cassandra/gms/VersionedValue.java | 1 - .../cassandra/hints/ChecksummedDataInput.java | 1 - .../apache/cassandra/hints/HintsDispatcher.java | 2 +- .../apache/cassandra/index/sasi/TermIterator.java | 4 - .../index/sasi/disk/OnDiskIndexBuilder.java | 1 - .../io/compress/CompressedSequentialWriter.java | 1 - .../cassandra/io/compress/CompressionMetadata.java | 3 - .../apache/cassandra/io/sstable/Descriptor.java | 2 - .../io/sstable/SSTableIdentityIterator.java | 1 - .../cassandra/io/sstable/format/SSTableReader.java | 30 +- .../io/sstable/format/SSTableReaderBuilder.java | 2 - .../io/sstable/format/big/BigTableWriter.java | 2 +- .../io/sstable/metadata/MetadataSerializer.java | 1 - .../io/util/BufferedDataOutputStreamPlus.java | 3 + .../org/apache/cassandra/io/util/FileHandle.java | 12 +- .../org/apache/cassandra/io/util/PathUtils.java | 2 - .../apache/cassandra/locator/TokenMetadata.java | 76 +- src/java/org/apache/cassandra/metrics/Sampler.java | 2 +- .../cassandra/net/AbstractMessageHandler.java | 2 +- .../cassandra/net/InboundMessageHandler.java | 2 +- .../cassandra/net/InboundMessageHandlers.java | 2 +- src/java/org/apache/cassandra/net/Message.java | 2 +- .../apache/cassandra/net/OutboundConnection.java | 2 +- .../org/apache/cassandra/net/RequestCallbacks.java | 2 +- .../apache/cassandra/net/ResponseVerbHandler.java | 2 +- src/java/org/apache/cassandra/net/Verb.java | 2 +- .../repair/consistent/SyncStatSummary.java | 1 - .../apache/cassandra/schema/MigrationManager.java | 4 + .../apache/cassandra/schema/SchemaKeyspace.java | 3 + .../schema/SystemDistributedKeyspace.java | 5 +- .../cassandra/service/ActiveRepairService.java | 3 + .../apache/cassandra/service/StartupChecks.java | 2 - .../org/apache/cassandra/service/StorageProxy.java | 28 +- .../apache/cassandra/service/StorageService.java | 1 - .../cassandra/service/paxos/BallotGenerator.java | 75 ++ .../org/apache/cassandra/service/paxos/Commit.java | 34 + .../apache/cassandra/service/paxos/PaxosState.java | 6 +- .../cassandra/service/paxos/ProposeCallback.java | 3 +- .../service/snapshot/SnapshotManifest.java | 14 +- .../cassandra/streaming/StreamResultFuture.java | 5 +- .../apache/cassandra/streaming/StreamSession.java | 9 + .../cassandra/streaming/StreamTransferTask.java | 38 +- .../async/StreamingMultiplexedChannel.java | 1 + .../cassandra/tools/BulkLoadConnectionFactory.java | 1 - .../cassandra/transport/CQLMessageHandler.java | 2 +- .../cassandra/utils/BloomFilterSerializer.java | 2 - src/java/org/apache/cassandra/utils/Clock.java | 31 +- .../org/apache/cassandra/utils/FBUtilities.java | 2 +- .../org/apache/cassandra/utils/MonotonicClock.java | 19 +- .../Nemesis.java} | 27 +- src/java/org/apache/cassandra/utils/Simulate.java | 56 ++ .../org/apache/cassandra/utils/Throwables.java | 2 + .../cassandra/utils/binlog/ExternalArchiver.java | 1 - .../cassandra/utils/concurrent/AbstractFuture.java | 26 +- .../cassandra/utils/concurrent/AsyncFuture.java | 2 +- .../cassandra/utils/concurrent/Awaitable.java | 135 +-- .../apache/cassandra/utils/concurrent/Future.java | 11 + .../cassandra/utils/concurrent/ListenerList.java | 18 +- .../org/apache/cassandra/utils/concurrent/Ref.java | 29 +- .../cassandra/utils/concurrent/Semaphore.java | 200 +---- .../cassandra/utils/concurrent/SyncFuture.java | 4 +- .../apache/cassandra/utils/concurrent/Threads.java | 5 + .../apache/cassandra/utils/memory/BufferPool.java | 19 +- .../apache/cassandra/utils/memory/HeapPool.java | 4 + .../apache/cassandra/utils/obs/OffHeapBitSet.java | 1 - test/burn/org/apache/cassandra/net/Connection.java | 2 +- .../apache/cassandra/net/ConnectionBurnTest.java | 4 +- .../org/apache/cassandra/net/MessageGenerator.java | 2 +- test/burn/org/apache/cassandra/net/Verifier.java | 2 +- .../cassandra/utils/memory/LongBufferPoolTest.java | 4 +- test/conf/logback-simulator.xml | 55 ++ .../org/apache/cassandra/distributed/Cluster.java | 4 +- .../cassandra/distributed/UpgradeableCluster.java | 4 +- .../cassandra/distributed/action/GossipHelper.java | 5 + .../distributed/impl/AbstractCluster.java | 28 +- .../cassandra/distributed/impl/Coordinator.java | 2 +- .../cassandra/distributed/impl/Instance.java | 13 +- .../cassandra/distributed/impl/InstanceConfig.java | 2 +- .../cassandra/distributed/impl/InstanceKiller.java | 1 - .../distributed/impl/IsolatedExecutor.java | 3 +- .../apache/cassandra/distributed/impl/Query.java | 4 +- .../distributed/impl/UnsafeGossipHelper.java | 14 +- .../cassandra/distributed/upgrade/GroupByTest.java | 1 - .../distributed/upgrade/UpgradeTestBase.java | 1 - .../io/compress/CompressorPerformance.java | 1 - .../test/microbench/BatchStatementBench.java | 1 - .../cassandra/simulator/asm/ChanceSupplier.java | 12 +- .../cassandra/simulator/asm/ClassTransformer.java | 210 +++++ .../org/apache/cassandra/simulator/asm/Flag.java | 12 +- .../simulator/asm/GlobalMethodTransformer.java | 156 ++++ .../apache/cassandra/simulator/asm/Hashcode.java | 44 + .../cassandra/simulator/asm/InterceptAgent.java | 334 ++++++++ .../cassandra/simulator/asm/InterceptClasses.java | 251 ++++++ .../cassandra/simulator/asm/MethodLogger.java | 259 ++++++ .../cassandra/simulator/asm/MethodWriterSink.java | 13 +- .../asm/MonitorEnterExitParkTransformer.java | 123 +++ .../simulator/asm/MonitorMethodTransformer.java | 338 ++++++++ .../cassandra/simulator/asm/NemesisFieldKind.java | 50 ++ .../cassandra/simulator/asm/NemesisGenerator.java | 73 ++ .../simulator/asm/NemesisTransformer.java | 134 +++ .../simulator/asm/ShadowingTransformer.java | 278 ++++++ .../simulator/asm/TransformationKind.java | 15 +- .../org/apache/cassandra/simulator/asm/Utils.java | 265 ++++++ .../cassandra/simulator/asm/package-info.java | 17 +- .../systems/InterceptorOfSystemMethods.java | 373 +++++++++ .../org/apache/cassandra/simulator/Action.java | 929 +++++++++++++++++++++ .../org/apache/cassandra/simulator/ActionList.java | 142 ++++ .../apache/cassandra/simulator/ActionListener.java | 201 +++++ .../org/apache/cassandra/simulator/ActionPlan.java | 91 ++ .../apache/cassandra/simulator/ActionSchedule.java | 390 +++++++++ .../org/apache/cassandra/simulator/Actions.java | 158 ++++ .../cassandra/simulator/ClusterSimulation.java | 748 +++++++++++++++++ .../main/org/apache/cassandra/simulator/Debug.java | 356 ++++++++ .../cassandra/simulator/FutureActionScheduler.java | 57 ++ .../org/apache/cassandra/simulator/OrderOn.java | 180 ++++ .../org/apache/cassandra/simulator/OrderOns.java | 160 ++++ .../org/apache/cassandra/simulator/Ordered.java | 331 ++++++++ .../org/apache/cassandra/simulator/OrderedOn.java | 10 +- .../apache/cassandra/simulator/RandomSource.java | 320 +++++++ .../simulator/RunnableActionScheduler.java | 141 ++++ .../org/apache/cassandra/simulator/Simulation.java | 13 +- .../cassandra/simulator/SimulationRunner.java | 456 ++++++++++ .../apache/cassandra/simulator/SimulatorUtils.java | 48 ++ .../simulator/asm/NemesisFieldSelectors.java | 67 ++ .../cassandra/simulator/cluster/ClusterAction.java | 17 +- .../simulator/cluster/ClusterActionListener.java | 23 +- .../simulator/cluster/ClusterActions.java | 267 ++++++ .../simulator/cluster/ClusterReliableAction.java | 16 +- .../cluster/ClusterReliableQueryAction.java | 38 + .../simulator/cluster/ClusterUnsafeAction.java | 22 +- .../simulator/cluster/KeyspaceActions.java | 391 +++++++++ .../cassandra/simulator/cluster/NodeLookup.java | 32 +- .../cassandra/simulator/cluster/NodesByDc.java | 172 ++++ .../simulator/cluster/OnClusterChangeRf.java | 66 ++ .../simulator/cluster/OnClusterChangeTopology.java | 70 ++ .../simulator/cluster/OnClusterFullRepair.java | 66 ++ .../cassandra/simulator/cluster/OnClusterJoin.java | 50 ++ .../simulator/cluster/OnClusterLeave.java | 60 ++ .../simulator/cluster/OnClusterMarkDown.java | 21 +- .../simulator/cluster/OnClusterRepairRanges.java | 40 + .../simulator/cluster/OnClusterReplace.java | 115 +++ .../cluster/OnClusterSetPaxosVariant.java | 44 + .../cluster/OnClusterSyncPendingRanges.java | 15 +- .../simulator/cluster/OnClusterUpdateGossip.java | 64 ++ .../simulator/cluster/OnInstanceBootstrap.java | 55 ++ .../cluster/OnInstanceFlushAndCleanup.java | 61 ++ .../simulator/cluster/OnInstanceGossipWith.java | 51 ++ .../simulator/cluster/OnInstanceGossipWithAll.java | 22 +- .../simulator/cluster/OnInstanceMarkShutdown.java | 15 +- .../simulator/cluster/OnInstanceRepair.java | 105 +++ .../cluster/OnInstanceSendLocalGossipState.java | 51 ++ .../simulator/cluster/OnInstanceSendShutdown.java | 50 ++ .../cluster/OnInstanceSendShutdownToAll.java | 17 +- .../cluster/OnInstanceSetBootstrapReplacing.java | 15 +- .../cluster/OnInstanceSetBootstrapping.java | 15 +- .../simulator/cluster/OnInstanceSetLeaving.java | 15 +- .../simulator/cluster/OnInstanceSetLeft.java | 15 +- .../simulator/cluster/OnInstanceSetNormal.java | 20 +- .../cluster/OnInstanceSetPaxosVariant.java | 56 ++ .../cluster/OnInstanceSyncPendingRanges.java | 42 + .../cluster/OnInstanceSyncSchemaForBootstrap.java | 18 +- .../cassandra/simulator/cluster/Topology.java | 94 +++ .../simulator/cluster/TopologyListener.java | 12 +- .../apache/cassandra/simulator/cluster/Utils.java | 84 ++ .../apache/cassandra/simulator/debug/Capture.java | 21 +- .../cassandra/simulator/debug/Reconcile.java | 469 +++++++++++ .../apache/cassandra/simulator/debug/Record.java | 442 ++++++++++ .../cassandra/simulator/debug/SelfReconcile.java | 286 +++++++ .../simulator/debug/SelfReconcilingRandom.java | 136 +++ .../apache/cassandra/simulator/package-info.java | 84 ++ .../apache/cassandra/simulator/paxos/Ballots.java | 251 ++++++ .../cassandra/simulator/paxos/HistoryChecker.java | 350 ++++++++ .../simulator/paxos/HistoryViolation.java | 13 +- .../cassandra/simulator/paxos/Observation.java | 31 +- .../paxos/PairOfSequencesPaxosSimulation.java | 349 ++++++++ .../simulator/paxos/PaxosClusterSimulation.java | 99 +++ .../simulator/paxos/PaxosRepairValidator.java | 100 +++ .../cassandra/simulator/paxos/PaxosSimulation.java | 237 ++++++ .../simulator/paxos/PaxosSimulationRunner.java | 143 ++++ .../paxos/PaxosTopologyChangeVerifier.java | 116 +++ .../cassandra/simulator/systems/Failures.java | 70 ++ .../simulator/systems/InterceptedExecution.java | 281 +++++++ .../systems/InterceptedIdentityHashMap.java | 158 ++++ .../simulator/systems/InterceptedWait.java | 341 ++++++++ .../simulator/systems/InterceptibleThread.java | 502 +++++++++++ .../systems/InterceptibleThreadFactory.java | 87 ++ .../simulator/systems/InterceptingAwaitable.java | 296 +++++++ .../simulator/systems/InterceptingExecutor.java | 848 +++++++++++++++++++ .../systems/InterceptingExecutorFactory.java | 392 +++++++++ .../systems/InterceptingGlobalMethods.java | 90 ++ .../simulator/systems/InterceptingMonitors.java | 759 +++++++++++++++++ .../simulator/systems/InterceptingWaitQueue.java | 99 +++ .../systems/InterceptorOfConsequences.java | 15 +- .../simulator/systems/InterceptorOfExecution.java | 19 +- .../systems/InterceptorOfGlobalMethods.java | 381 +++++++++ .../simulator/systems/InterceptorOfWaits.java | 22 +- .../cassandra/simulator/systems/NetworkConfig.java | 55 ++ .../simulator/systems/NonInterceptible.java | 78 ++ .../systems/NotInterceptedSyncCondition.java | 70 ++ .../simulator/systems/NotifyThreadPaused.java | 73 ++ .../simulator/systems/PerClassLoader.java | 11 +- .../simulator/systems/SchedulerConfig.java | 21 +- .../simulator/systems/SimulatedAction.java | 432 ++++++++++ .../simulator/systems/SimulatedActionCallable.java | 54 ++ .../simulator/systems/SimulatedActionConsumer.java | 57 ++ .../simulator/systems/SimulatedActionTask.java | 118 +++ .../simulator/systems/SimulatedBallots.java | 98 +++ .../simulator/systems/SimulatedExecution.java | 221 +++++ .../systems/SimulatedFailureDetector.java | 126 +++ .../systems/SimulatedFutureActionScheduler.java | 195 +++++ .../systems/SimulatedMessageDelivery.java | 42 + .../simulator/systems/SimulatedQuery.java | 53 ++ .../simulator/systems/SimulatedSnitch.java | 126 +++ .../simulator/systems/SimulatedSystems.java | 106 +++ .../cassandra/simulator/systems/SimulatedTime.java | 317 +++++++ .../simulator/systems/SimulatedWaits.java | 156 ++++ .../cassandra/simulator/utils/ChanceRange.java | 50 ++ .../cassandra/simulator/utils/CompactLists.java | 160 ++++ .../simulator/utils/CountingCollection.java | 38 +- .../apache/cassandra/simulator/utils/IntRange.java | 74 ++ .../simulator/utils/IntrusiveLinkedList.java | 90 ++ .../simulator/utils/IntrusiveLinkedListNode.java | 27 +- .../cassandra/simulator/utils/KindOfSequence.java | 429 ++++++++++ .../cassandra/simulator/utils/LongRange.java | 96 +++ .../cassandra/simulator/utils/SafeCollections.java | 29 +- .../test/ClassWithSynchronizedMethods.java | 71 ++ .../test/MonitorMethodTransformerTest.java | 110 +++ .../cassandra/simulator/test/SimulationTest.java | 85 ++ .../simulator/test/SimulationTestBase.java | 283 +++++++ .../cassandra/AbstractSerializationsTester.java | 2 - .../unit/org/apache/cassandra/ServerTestUtils.java | 1 - .../apache/cassandra/audit/BinAuditLoggerTest.java | 1 - .../concurrent/AbstractExecutorPlusTest.java | 8 +- .../org/apache/cassandra/db/NativeCellTest.java | 1 - .../cassandra/db/RangeTombstoneListTest.java | 1 - .../org/apache/cassandra/db/ReadMessageTest.java | 1 - .../org/apache/cassandra/db/RowIndexEntryTest.java | 1 - .../db/commitlog/AbstractCommitLogServiceTest.java | 1 - .../db/monitoring/MonitoringTaskTest.java | 2 +- .../apache/cassandra/gms/SerializationsTest.java | 1 - .../apache/cassandra/hints/DTestSerializer.java | 1 - .../compress/CompressedRandomAccessReaderTest.java | 1 - .../compress/CompressedSequentialWriterTest.java | 1 - .../io/sstable/SSTableCorruptionDetectionTest.java | 1 - .../cassandra/io/sstable/SSTableRewriterTest.java | 1 - .../org/apache/cassandra/net/ConnectionTest.java | 2 +- .../unit/org/apache/cassandra/net/MessageTest.java | 2 +- .../cassandra/net/OutboundMessageQueueTest.java | 2 +- .../cassandra/net/ProxyHandlerConnectionsTest.java | 2 +- .../apache/cassandra/service/PaxosStateTest.java | 128 --- .../streaming/StreamTransferTaskTest.java | 2 +- .../async/StreamingInboundHandlerTest.java | 4 - .../tools/cassandrastress/CassandrastressTest.java | 1 - .../apache/cassandra/utils/BloomFilterTest.java | 1 - .../apache/cassandra/utils/MonotonicClockTest.java | 2 +- .../apache/cassandra/utils/SerializationsTest.java | 3 - .../utils/concurrent/ImmediateFutureTest.java | 1 - .../cassandra/utils/concurrent/SemaphoreTest.java | 8 +- .../utils/memory/MemtableCleanerThreadTest.java | 1 - 296 files changed, 22265 insertions(+), 967 deletions(-) create mode 100644 src/java/org/apache/cassandra/service/paxos/BallotGenerator.java copy src/java/org/apache/cassandra/{concurrent/ScheduledExecutorPlus.java => utils/Nemesis.java} (50%) create mode 100644 src/java/org/apache/cassandra/utils/Simulate.java create mode 100644 test/conf/logback-simulator.xml copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/asm/org/apache/cassandra/simulator/asm/ChanceSupplier.java (71%) create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/ClassTransformer.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/asm/org/apache/cassandra/simulator/asm/Flag.java (71%) create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/GlobalMethodTransformer.java create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/Hashcode.java create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/InterceptAgent.java create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/InterceptClasses.java create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/MethodLogger.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/asm/org/apache/cassandra/simulator/asm/MethodWriterSink.java (71%) create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/MonitorEnterExitParkTransformer.java create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/MonitorMethodTransformer.java create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/NemesisFieldKind.java create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/NemesisGenerator.java create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/NemesisTransformer.java create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/ShadowingTransformer.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/asm/org/apache/cassandra/simulator/asm/TransformationKind.java (68%) create mode 100644 test/simulator/asm/org/apache/cassandra/simulator/asm/Utils.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/asm/org/apache/cassandra/simulator/asm/package-info.java (71%) create mode 100644 test/simulator/bootstrap/org/apache/cassandra/simulator/systems/InterceptorOfSystemMethods.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/Action.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/ActionList.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/ActionListener.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/ActionPlan.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/ActionSchedule.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/Actions.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/ClusterSimulation.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/Debug.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/FutureActionScheduler.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/OrderOn.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/OrderOns.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/Ordered.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/OrderedOn.java (77%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/RandomSource.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/RunnableActionScheduler.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/Simulation.java (71%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/SimulationRunner.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/SimulatorUtils.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/asm/NemesisFieldSelectors.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/ClusterAction.java (61%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/ClusterActionListener.java (60%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/ClusterActions.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/ClusterReliableAction.java (62%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/ClusterReliableQueryAction.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/ClusterUnsafeAction.java (54%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/KeyspaceActions.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/NodeLookup.java (56%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/NodesByDc.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterChangeRf.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterChangeTopology.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterFullRepair.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterJoin.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterLeave.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterMarkDown.java (55%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterRepairRanges.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterReplace.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterSetPaxosVariant.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterSyncPendingRanges.java (71%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnClusterUpdateGossip.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceBootstrap.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceFlushAndCleanup.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceGossipWith.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceGossipWithAll.java (53%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceMarkShutdown.java (67%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceRepair.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSendLocalGossipState.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSendShutdown.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSendShutdownToAll.java (60%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSetBootstrapReplacing.java (59%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSetBootstrapping.java (66%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSetLeaving.java (68%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSetLeft.java (69%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSetNormal.java (56%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSetPaxosVariant.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSyncPendingRanges.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/OnInstanceSyncSchemaForBootstrap.java (53%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/Topology.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/cluster/TopologyListener.java (71%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/cluster/Utils.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/debug/Capture.java (68%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/debug/Reconcile.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/debug/Record.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/debug/SelfReconcile.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/debug/SelfReconcilingRandom.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/package-info.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/paxos/Ballots.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/paxos/HistoryChecker.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/paxos/HistoryViolation.java (77%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/paxos/Observation.java (54%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/paxos/PairOfSequencesPaxosSimulation.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/paxos/PaxosClusterSimulation.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/paxos/PaxosRepairValidator.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/paxos/PaxosSimulation.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/paxos/PaxosSimulationRunner.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/paxos/PaxosTopologyChangeVerifier.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/Failures.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptedExecution.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptedIdentityHashMap.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptedWait.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptibleThread.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptibleThreadFactory.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptingAwaitable.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptingExecutor.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptingExecutorFactory.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptingGlobalMethods.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptingMonitors.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptingWaitQueue.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/systems/InterceptorOfConsequences.java (57%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/systems/InterceptorOfExecution.java (53%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/InterceptorOfGlobalMethods.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/systems/InterceptorOfWaits.java (50%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/NetworkConfig.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/NonInterceptible.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/NotInterceptedSyncCondition.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/NotifyThreadPaused.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/systems/PerClassLoader.java (71%) copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/systems/SchedulerConfig.java (60%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedAction.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedActionCallable.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedActionConsumer.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedActionTask.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedBallots.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedExecution.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedFailureDetector.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedFutureActionScheduler.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedMessageDelivery.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedQuery.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedSnitch.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedSystems.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedTime.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/systems/SimulatedWaits.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/utils/ChanceRange.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/utils/CompactLists.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/utils/CountingCollection.java (56%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/utils/IntRange.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/utils/IntrusiveLinkedList.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/utils/IntrusiveLinkedListNode.java (65%) create mode 100644 test/simulator/main/org/apache/cassandra/simulator/utils/KindOfSequence.java create mode 100644 test/simulator/main/org/apache/cassandra/simulator/utils/LongRange.java copy src/java/org/apache/cassandra/concurrent/ScheduledExecutorPlus.java => test/simulator/main/org/apache/cassandra/simulator/utils/SafeCollections.java (57%) create mode 100644 test/simulator/test/org/apache/cassandra/simulator/test/ClassWithSynchronizedMethods.java create mode 100644 test/simulator/test/org/apache/cassandra/simulator/test/MonitorMethodTransformerTest.java create mode 100644 test/simulator/test/org/apache/cassandra/simulator/test/SimulationTest.java create mode 100644 test/simulator/test/org/apache/cassandra/simulator/test/SimulationTestBase.java delete mode 100644 test/unit/org/apache/cassandra/service/PaxosStateTest.java --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org