Fix list_rels visibility check: some relations after initdb may have lsn equal to last_valid_lsn()

This commit is contained in:
anastasia
2021-07-06 18:04:27 +03:00
committed by lubennikovaav
parent 2712eaee15
commit 462b8801d2

View File

@@ -168,7 +168,7 @@ impl ObjectStore for RocksObjectStore {
{
break;
}
if key.lsn < lsn {
if key.lsn <= lsn {
// visible in this snapshot
rels.insert(rel_tag);
}