aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnaury <snaury@ydb.tech>2023-04-10 12:58:08 +0300
committersnaury <snaury@ydb.tech>2023-04-10 12:58:08 +0300
commitdd9e39a89319ba92fb8ecef2fde6f791b8acc0d8 (patch)
tree117ea1666c82223ef32d3e96365693fd5a78952d
parent189e2024b0bc3940365e535cea36610a6a0e3098 (diff)
downloadydb-dd9e39a89319ba92fb8ecef2fde6f791b8acc0d8.tar.gz
Handle missing LockVolatileDependencies table
-rw-r--r--ydb/core/tx/datashard/datashard_locks_db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/tx/datashard/datashard_locks_db.cpp b/ydb/core/tx/datashard/datashard_locks_db.cpp
index 54821486e0..c48d0f96f1 100644
--- a/ydb/core/tx/datashard/datashard_locks_db.cpp
+++ b/ydb/core/tx/datashard/datashard_locks_db.cpp
@@ -75,7 +75,7 @@ bool TDataShardLocksDb::Load(TVector<TLockRow>& rows) {
}
// Load volatile dependencies
- {
+ if (db.HaveTable<Schema::LockVolatileDependencies>()) {
auto rowset = db.Table<Schema::LockVolatileDependencies>().Select();
if (!rowset.IsReady()) {
return false;