diff --git a/fdbserver/workloads/WriteTagThrottling.actor.cpp b/fdbserver/workloads/WriteTagThrottling.actor.cpp index e13476f093..8a39f2199d 100644 --- a/fdbserver/workloads/WriteTagThrottling.actor.cpp +++ b/fdbserver/workloads/WriteTagThrottling.actor.cpp @@ -123,9 +123,8 @@ struct WriteTagThrottlingWorkload : KVWorkload { return false; } if (writeThrottle) { - if (!badActorThrottleRetries) { - TraceEvent(SevError, "NoThrottleTriggered"); - return false; + if (!badActorThrottleRetries && !goodActorThrottleRetries) { + TraceEvent(SevWarn, "NoThrottleTriggered"); } if (badActorThrottleRetries < goodActorThrottleRetries) { TraceEvent(SevError, "IncorrectThrottle"); diff --git a/tests/WriteTagThrottling.txt b/tests/WriteTagThrottling.txt index e0a8b6a9cf..721b575a1f 100644 --- a/tests/WriteTagThrottling.txt +++ b/tests/WriteTagThrottling.txt @@ -1,11 +1,11 @@ testTitle=withoutWriteThrottling testName=WriteTagThrottling - txPerSecond=10000000 + trPerSecond=10000000 keyCount=5000 absentFrac=0.01 - numWritePerTx=1 - numReadPerTx=1 - numClearPerTx=1 + numWritePerTr=1 + numReadPerTr=1 + numClearPerTr=1 badOpRate = 0.9 testName=HealthMetricsApi @@ -13,12 +13,12 @@ testTitle=withoutWriteThrottling testTitle=withWriteThrottling testName=WriteTagThrottling writeThrottle = true - txPerSecond=10000000 + trPerSecond=10000000 keyCount=5000 absentFrac=0.01 - numWritePerTx=1 - numReadPerTx=1 - numClearPerTx=1 + numWritePerTr=1 + numReadPerTr=1 + numClearPerTr=1 badOpRate = 0.9 tpsRate=20