diff options
author | serg-belyakov <serg-belyakov@ydb.tech> | 2023-12-04 14:13:09 +0300 |
---|---|---|
committer | serg-belyakov <serg-belyakov@ydb.tech> | 2023-12-04 19:24:40 +0300 |
commit | ec1311bf2e8cc231723b8b5e484ca576663a1309 (patch) | |
tree | 04f76d500a2fced108ad008e0c37bc1f3176afdf | |
parent | 24c4796d871e0d3ecf4e7292abf0be5657ef20a4 (diff) | |
download | ydb-ec1311bf2e8cc231723b8b5e484ca576663a1309.tar.gz |
Correct operators' evalutaion order, KIKIMR-20348
Fix operators' misorder
-rw-r--r-- | ydb/core/load_test/group_write.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ydb/core/load_test/group_write.cpp b/ydb/core/load_test/group_write.cpp index 59921cef21..34ea48e295 100644 --- a/ydb/core/load_test/group_write.cpp +++ b/ydb/core/load_test/group_write.cpp @@ -999,8 +999,9 @@ public: tabletId = it->second; } else { tabletId = THash<TString>{}(name) & ((1 << 20) - 1); - tabletId = tabletId << 10 + tag; - tabletId = tabletId << 10 + Parent.NodeId(); + tabletId = (tabletId << 10) + tag; + tabletId = (tabletId << 10) + Parent.NodeId(); + tabletId &= (1ull << 44) - 1; tabletId = MakeTabletID(0, 0, tabletId); tabletIds[name] = tabletId; } |