update weak read timestamp no matter get gts successfuly or not

This commit is contained in:
obdev 2024-02-08 07:46:07 +00:00 committed by ob-robot
parent 56d833ddc6
commit 5a8419b560

View File

@ -148,6 +148,9 @@ int ObLSWRSHandler::generate_ls_weak_read_snapshot_version(ObLS &ls,
if (!need_skip) {
wrs_version = timestamp;
}
}
if (timestamp.is_valid()) {
// Update timestamp forcedly no matter how current ls leaves behind or not;
ls_weak_read_ts_.inc_update(timestamp);
}