Merge pull request #7948 from sfc-gh-xwang/fix/sfc71.2/upgradeRkCount

Allow rk throttle reason being UNSET in RkTagThrottleCollection::incrementBusyTagCount
This commit is contained in:
Trevor Clinkenbeard 2022-08-22 14:09:55 -07:00 committed by GitHub
commit 8a77769211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -353,6 +353,7 @@ void RkTagThrottleCollection::incrementBusyTagCount(TagThrottledReason reason) {
} else if (reason == TagThrottledReason::BUSY_WRITE) {
++busyWriteTagCount;
} else {
ASSERT(false);
ASSERT(reason == TagThrottledReason::UNSET);
CODE_PROBE(true, "tag throttled reason is unset, probably because of upgrading");
}
}