Merge pull request #3929 from ajbeamon/fix-data-lag-tracking

Restore line that stores the data lag seconds of a storage server
This commit is contained in:
Xin Dong 2020-10-21 11:25:50 -07:00 committed by GitHub
commit 611d5a4b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -504,6 +504,7 @@ struct RolesInfo {
obj["data_lag"] = getLagObject(versionLag);
obj["durability_lag"] = getLagObject(version - durableVersion);
dataLagSeconds = versionLag / (double)SERVER_KNOBS->VERSIONS_PER_SECOND;
} catch (Error& e) {
if(e.code() != error_code_attribute_not_found)