diff options
author | h0pless <h0pless@yandex-team.com> | 2024-04-16 14:54:04 +0300 |
---|---|---|
committer | h0pless <h0pless@yandex-team.com> | 2024-04-16 15:42:51 +0300 |
commit | 57ec39e3a508212ab52f55393b8870721213fae6 (patch) | |
tree | 4c0acb6b06da421f6d31d2c79d1f0dcf8e443196 | |
parent | 0a63d9ddc516f206f2b8745ce5e5dfa60190d755 (diff) | |
download | ydb-57ec39e3a508212ab52f55393b8870721213fae6.tar.gz |
Add a virtual map for foreign transactions
0e7eb15082ecd8fc1c41e24265e3afcc04b21543
-rw-r--r-- | yt/yt/client/object_client/helpers.cpp | 3 | ||||
-rw-r--r-- | yt/yt/client/object_client/public.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/yt/yt/client/object_client/helpers.cpp b/yt/yt/client/object_client/helpers.cpp index df9d62e45b..04d5e7e647 100644 --- a/yt/yt/client/object_client/helpers.cpp +++ b/yt/yt/client/object_client/helpers.cpp @@ -73,8 +73,9 @@ bool IsVersionedType(EObjectType type) type == EObjectType::ChunkListMap || type == EObjectType::ChunkViewMap || type == EObjectType::MediumMap || - type == EObjectType::TransactionMap || + type == EObjectType::ForeignTransactionMap || type == EObjectType::TopmostTransactionMap || + type == EObjectType::TransactionMap || type == EObjectType::ClusterNodeNode || type == EObjectType::ClusterNodeMap || type == EObjectType::DataNodeMap || diff --git a/yt/yt/client/object_client/public.h b/yt/yt/client/object_client/public.h index 1cfc0f6070..28536c9516 100644 --- a/yt/yt/client/object_client/public.h +++ b/yt/yt/client/object_client/public.h @@ -112,6 +112,7 @@ DEFINE_ENUM(EObjectType, ((TransactionMap) (407)) ((TopmostTransactionMap) (418)) ((LockMap) (422)) + ((ForeignTransactionMap) (437)) // Chunk Manager stuff ((Chunk) (100)) |