-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Storage NYC 2019-05-20
-
18
The unit test should verify that the function that computes the amount of tickets to allocate produces the expected result, given a simulated set of inputs.
The integration test should be a jstest and verify that, if the Flow Control mechanism were to calculate that the target number of tickets it allocates in any given period of one second is some number, e.g., 5,000, the rate of write operations per second should approximately equal 5,000, with some margin of error due to potential slow machines. Ensuring the Flow Control mechanism assigns 5,000 tickets per second can be accomplished with a fail point. The test should issue periodic inserts, updates, and deletes. At this time, only singular writes should be tested, as testing batch writes and multi updates may cause the test to be less reliable and would increase the complexity of the test.
The integration test should also verify that the statistics reported inĀ SERVER-39848 are as expected.
- related to
-
SERVER-57273 remove the flow_control_replica_set.js test
- Closed