Merge pull request #11516 from jzhou77/release-notes

Fix an IDE build error
This commit is contained in:
Jingyu Zhou 2024-07-17 12:28:37 -07:00 committed by GitHub
commit db036aeec3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -183,6 +183,7 @@ struct ClientMetricWorkload : TestWorkload {
state int retry1 = 0;
state int max_retry1 = 10;
state uint64_t vs1 = 0;
loop {
if (retry1 > max_retry1) {
// this should not happen, it should succeed after a few retry
@ -200,7 +201,7 @@ struct ClientMetricWorkload : TestWorkload {
ASSERT(r1.size() > 0);
// [0] is the latest version, as we have reverse = true
KeyRef latest = r1[0].key;
state uint64_t vs1 = getVersionStamp(latest);
vs1 = getVersionStamp(latest);
std::cout << "vs1=" << vs1 << std::endl;
ASSERT(vs1 > 0);
break;