Merge pull request #3779 from ajbeamon/fix-write-tag-test-memory-error

Fix memory issue in write tag throttling test
This commit is contained in:
Trevor Clinkenbeard 2020-09-14 10:59:57 -07:00 committed by GitHub
commit 94e7e11664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,7 @@ struct WriteTagThrottlingWorkload : KVWorkload {
state int availableRange = std::max(int(self->rangeEachBadActor * self->hotRangeRate), 1);
state double lastTime = now();
state double opStart;
state StringRef key;
state Key key;
try {
loop {
wait(poisson(&lastTime, self->trInterval));