David Capwell created CASSANDRA-18451:
-----------------------------------------

             Summary: CEP-15: (C*) Improve the chaos generation for Burn Tests: 
slow/flakey connections and dropped messages
                 Key: CASSANDRA-18451
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18451
             Project: Cassandra
          Issue Type: Improvement
          Components: Accord
            Reporter: David Capwell
            Assignee: David Capwell


Burn test should be enhanced to add the following:

1) message dropping from one node to another (this is different than the 
current partition set logic in accord.impl.basic.Cluster#partitionSet)
2) for messages with callbacks, trigger failure case
3) redundant message delivery

Related work:
* Simulator’s 
org.apache.cassandra.simulator.systems.SimulatedAction#applyToMessage
- Figures out what delivery action to perform via 
org.apache.cassandra.simulator.FutureActionScheduler#shouldDeliver
-- timeout if dropPartition[from] != dropPartition[to] // either to/from is in 
drop partition, but not both
-- config asked to override and deliver
-- 50/50 chance to deliver, after that 50/50 to deliver w/ timeout, after that 
cause a failure
- in C* failure is an enum with Timeout and Unknown
- knows the schedule time and the message expire time, and can promote a 
DELIVER event to DELIVER_AND_TIMEOUT
- triggers the timeout



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to