Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Quality Assurance
-
Normal
-
All
-
None
-
Description
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
Attachments
Issue Links
- links to