diff options
author | h0pless <h0pless@yandex-team.com> | 2024-08-27 11:12:20 +0300 |
---|---|---|
committer | h0pless <h0pless@yandex-team.com> | 2024-08-27 11:22:44 +0300 |
commit | a224c2b6d66a53bf7c4483cc45a8eca4dc7cb439 (patch) | |
tree | 8497cba83c64f760e8898587f47b9efc5019a785 | |
parent | 7047ec1be8b7a163ab42b10b132984e79cd87d9d (diff) | |
download | ydb-a224c2b6d66a53bf7c4483cc45a8eca4dc7cb439.tar.gz |
Consider SequoiaMapNode, PortalExit and Scion to be composite node types
This also fixes a potential crash during cross-cell copy\
Test was added to ensure that the problem is fixed
8938836be9fa29b7105f898c6d5a99398bc34fb9
-rw-r--r-- | yt/yt/client/object_client/helpers.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/yt/yt/client/object_client/helpers.cpp b/yt/yt/client/object_client/helpers.cpp index db49c3d9f5..19a72ec4fa 100644 --- a/yt/yt/client/object_client/helpers.cpp +++ b/yt/yt/client/object_client/helpers.cpp @@ -287,7 +287,12 @@ bool IsUploadTransactionType(EObjectType type) bool IsCompositeNodeType(EObjectType type) { - return type == EObjectType::MapNode || type == EObjectType::ListNode; + return + type == EObjectType::SequoiaMapNode || + type == EObjectType::MapNode || + type == EObjectType::Scion || + type == EObjectType::PortalExit || + type == EObjectType::ListNode; } bool IsLinkType(EObjectType type) |