Print max score in level summary
Summary: Add more logging to help debugging issues. Test Plan: Run test suites Reviewers: yhchiang, rven, igor Reviewed By: igor Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D37401
This commit is contained in:
parent
397b6588bd
commit
9bf40b64d0
@ -1494,7 +1494,8 @@ const char* VersionStorageInfo::LevelSummary(
|
|||||||
// overwrite the last space
|
// overwrite the last space
|
||||||
--len;
|
--len;
|
||||||
}
|
}
|
||||||
snprintf(scratch->buffer + len, sizeof(scratch->buffer) - len, "]");
|
snprintf(scratch->buffer + len, sizeof(scratch->buffer) - len,
|
||||||
|
"] max score %.2f", compaction_score_[0]);
|
||||||
return scratch->buffer;
|
return scratch->buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user