Skip to content

Commit 142d060

Browse files
kvk1920blinkov
authored andcommitted
YT-18540: Cypress proxy registration
commit_hash:ac1668c12438abaff9879d8453f593f8e943cd15
1 parent 0c40fe0 commit 142d060

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

yt/yt/client/object_client/helpers.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ bool IsVersionedType(EObjectType type)
134134
type == EObjectType::SequoiaMapNode ||
135135
type == EObjectType::Pipeline ||
136136
type == EObjectType::QueueConsumer ||
137-
type == EObjectType::QueueProducer;
137+
type == EObjectType::QueueProducer ||
138+
type == EObjectType::CypressProxyMap;
138139
}
139140

140141
bool IsUserType(EObjectType type)

yt/yt/client/object_client/public.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,10 @@ DEFINE_ENUM(EObjectType,
342342
((ReplicationCardCollocation) (1207))
343343
((VirtualChaosCellMap) (1208))
344344

345-
// Maintenance tracker stuff
345+
// Other cluster components stuff
346346
((ClusterProxyNode) (1500))
347+
((CypressProxyObject) (1501))
348+
((CypressProxyMap) (465))
347349

348350
// Zookeeper stuff
349351
// COMPAT(babenko): drop completely

yt/yt/client/sequoia_client/public.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ namespace NYT::NSequoiaClient {
77
////////////////////////////////////////////////////////////////////////////////
88

99
YT_DEFINE_ERROR_ENUM(
10-
((SequoiaClientNotReady) (6000))
11-
((SequoiaTableCorrupted) (6001))
12-
((SequoiaRetriableError) (6002))
10+
((SequoiaClientNotReady) (6000))
11+
((SequoiaTableCorrupted) (6001))
12+
((SequoiaRetriableError) (6002))
13+
((InvalidSequoiaReign) (6003))
1314
);
1415

1516
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)