aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorh0pless <h0pless@yandex-team.com>2024-08-27 11:12:20 +0300
committerh0pless <h0pless@yandex-team.com>2024-08-27 11:22:44 +0300
commita224c2b6d66a53bf7c4483cc45a8eca4dc7cb439 (patch)
tree8497cba83c64f760e8898587f47b9efc5019a785
parent7047ec1be8b7a163ab42b10b132984e79cd87d9d (diff)
downloadydb-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.cpp7
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)