Merge pull request #3475 from sfc-gh-xwang/master
better correctness criteria
This commit is contained in:
commit
74bfd13c5b
|
@ -123,9 +123,8 @@ struct WriteTagThrottlingWorkload : KVWorkload {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (writeThrottle) {
|
if (writeThrottle) {
|
||||||
if (!badActorThrottleRetries) {
|
if (!badActorThrottleRetries && !goodActorThrottleRetries) {
|
||||||
TraceEvent(SevError, "NoThrottleTriggered");
|
TraceEvent(SevWarn, "NoThrottleTriggered");
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
if (badActorThrottleRetries < goodActorThrottleRetries) {
|
if (badActorThrottleRetries < goodActorThrottleRetries) {
|
||||||
TraceEvent(SevError, "IncorrectThrottle");
|
TraceEvent(SevError, "IncorrectThrottle");
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
testTitle=withoutWriteThrottling
|
testTitle=withoutWriteThrottling
|
||||||
testName=WriteTagThrottling
|
testName=WriteTagThrottling
|
||||||
txPerSecond=10000000
|
trPerSecond=10000000
|
||||||
keyCount=5000
|
keyCount=5000
|
||||||
absentFrac=0.01
|
absentFrac=0.01
|
||||||
numWritePerTx=1
|
numWritePerTr=1
|
||||||
numReadPerTx=1
|
numReadPerTr=1
|
||||||
numClearPerTx=1
|
numClearPerTr=1
|
||||||
badOpRate = 0.9
|
badOpRate = 0.9
|
||||||
|
|
||||||
testName=HealthMetricsApi
|
testName=HealthMetricsApi
|
||||||
|
@ -13,12 +13,12 @@ testTitle=withoutWriteThrottling
|
||||||
testTitle=withWriteThrottling
|
testTitle=withWriteThrottling
|
||||||
testName=WriteTagThrottling
|
testName=WriteTagThrottling
|
||||||
writeThrottle = true
|
writeThrottle = true
|
||||||
txPerSecond=10000000
|
trPerSecond=10000000
|
||||||
keyCount=5000
|
keyCount=5000
|
||||||
absentFrac=0.01
|
absentFrac=0.01
|
||||||
numWritePerTx=1
|
numWritePerTr=1
|
||||||
numReadPerTx=1
|
numReadPerTr=1
|
||||||
numClearPerTx=1
|
numClearPerTr=1
|
||||||
badOpRate = 0.9
|
badOpRate = 0.9
|
||||||
tpsRate=20
|
tpsRate=20
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue