diff options
author | snaury <snaury@ydb.tech> | 2023-04-10 12:58:08 +0300 |
---|---|---|
committer | snaury <snaury@ydb.tech> | 2023-04-10 12:58:08 +0300 |
commit | dd9e39a89319ba92fb8ecef2fde6f791b8acc0d8 (patch) | |
tree | 117ea1666c82223ef32d3e96365693fd5a78952d | |
parent | 189e2024b0bc3940365e535cea36610a6a0e3098 (diff) | |
download | ydb-dd9e39a89319ba92fb8ecef2fde6f791b8acc0d8.tar.gz |
Handle missing LockVolatileDependencies table
-rw-r--r-- | ydb/core/tx/datashard/datashard_locks_db.cpp | 2 |
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; |