Skip to content

Commit

Permalink
Cherry-pick PDisk key fixes from main (#3361)
Browse files Browse the repository at this point in the history
Co-authored-by: serg-belyakov <[email protected]>
  • Loading branch information
serbel324 and serg-belyakov authored Apr 2, 2024
1 parent 2d7bc95 commit 31a6b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/blobstorage/nodewarden/node_warden_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ bool NKikimr::ObtainPDiskKey(NPDisk::TMainKey *mainKey, const NKikimrProto::TKey
const ui8 *key;
ui32 keySize;
keys[i].Key.GetKeyBytes(&key, &keySize);
Y_VERIFY_DEBUG(keySize == sizeof(ui64));
Y_VERIFY_DEBUG(keySize == 4 * sizeof(ui64));
mainKey->Keys.push_back(*(ui64*)key);
}
mainKey->IsInitialized = true;
Expand Down

0 comments on commit 31a6b06

Please sign in to comment.