Ratekeeper ignores intentionally non-durable versions on the SS for durability lag computations.

This commit is contained in:
A.J. Beamon 2019-08-16 14:46:44 -07:00
parent b744c4b06e
commit ac2f310104

View File

@ -147,7 +147,7 @@ struct RatekeeperLimits {
logTargetBytes(logTargetBytes),
logSpringBytes(logSpringBytes),
maxVersionDifference(maxVersionDifference),
durabilityLagTargetVersions(durabilityLagTargetVersions),
durabilityLagTargetVersions(durabilityLagTargetVersions + SERVER_KNOBS->MAX_READ_TRANSACTION_LIFE_VERSIONS), // The read transaction life versions are expected to not be durable on the storage servers
durabilityLagLimit(std::numeric_limits<double>::infinity()),
lastDurabilityLag(0),
context(context)