diff options
author | alexvru <alexvru@ydb.tech> | 2023-01-26 14:30:39 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2023-01-26 14:30:39 +0300 |
commit | 9b69fdda4c660d1e32a1b1c6cbf3b30d63a6882c (patch) | |
tree | c552e1bc2e2c9f4c663b2f378046c53a201ab6f5 | |
parent | d5a7697bacaf622ce5cc87b4688f063083b45030 (diff) | |
download | ydb-9b69fdda4c660d1e32a1b1c6cbf3b30d63a6882c.tar.gz |
Fix bug
-rw-r--r-- | ydb/core/blobstorage/vdisk/skeleton/blobstorage_db.h | 4 | ||||
-rw-r--r-- | ydb/core/blobstorage/vdisk/skeleton/blobstorage_skeleton.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ydb/core/blobstorage/vdisk/skeleton/blobstorage_db.h b/ydb/core/blobstorage/vdisk/skeleton/blobstorage_db.h index 2bd127bbba3..9d591429383 100644 --- a/ydb/core/blobstorage/vdisk/skeleton/blobstorage_db.h +++ b/ydb/core/blobstorage/vdisk/skeleton/blobstorage_db.h @@ -84,8 +84,8 @@ namespace NKikimr { VDiskIncarnationGuid = g; } - TVDiskIncarnationGuid GetVDiskIncarnationGuid() const { - Y_VERIFY_DEBUG(VDiskIncarnationGuidSet); + TVDiskIncarnationGuid GetVDiskIncarnationGuid(bool allowUnset = false) const { + Y_VERIFY_DEBUG(VDiskIncarnationGuidSet || allowUnset); return VDiskIncarnationGuid; } diff --git a/ydb/core/blobstorage/vdisk/skeleton/blobstorage_skeleton.cpp b/ydb/core/blobstorage/vdisk/skeleton/blobstorage_skeleton.cpp index 94be2f52815..b97f27901dd 100644 --- a/ydb/core/blobstorage/vdisk/skeleton/blobstorage_skeleton.cpp +++ b/ydb/core/blobstorage/vdisk/skeleton/blobstorage_skeleton.cpp @@ -2154,7 +2154,7 @@ namespace NKikimr { } TABLER() { TABLED() {str << "VDiskIncarnationGuid";} - TABLED() {str << Db->GetVDiskIncarnationGuid();} + TABLED() {str << Db->GetVDiskIncarnationGuid(true);} } } } |