mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 03:12:12 +08:00
Update fdbserver/workloads/ReadHotDetection.actor.cpp
Co-authored-by: Jingyu Zhou <jingyuzhou@gmail.com>
This commit is contained in:
parent
ddec93c504
commit
e13e7c5725
@ -106,7 +106,7 @@ struct ReadHotDetectionWorkload : TestWorkload {
|
||||
// .detail("KeyRangesBackBeginKey", keyRanges.back().begin)
|
||||
// .detail("KeyRangesBackEndKey", keyRanges.back().end);
|
||||
// Loose check.
|
||||
for (auto kr : keyRanges) {
|
||||
for (const auto& kr : keyRanges) {
|
||||
if (kr.keys.contains(self->readKey)) {
|
||||
self->passed = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user