diff options
| author | aleksandra-zh <[email protected]> | 2025-06-06 23:25:52 +0300 |
|---|---|---|
| committer | aleksandra-zh <[email protected]> | 2025-06-06 23:39:52 +0300 |
| commit | 4090cb78bac6232cb38fb8dde597d315070fca46 (patch) | |
| tree | 1bd0fafa16605bf593f91d081fb248f7fa51a9f9 | |
| parent | ac501e19488230650210f6cc4a4c9d1fc7a383e2 (diff) | |
Counter ids for locations
commit_hash:22bdea457718070edbc02306a0575b4a6fddb88a
| -rw-r--r-- | yt/yt/client/node_tracker_client/public.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yt/yt/client/node_tracker_client/public.h b/yt/yt/client/node_tracker_client/public.h index bbba404eedc..d279efd076f 100644 --- a/yt/yt/client/node_tracker_client/public.h +++ b/yt/yt/client/node_tracker_client/public.h @@ -45,6 +45,10 @@ YT_DEFINE_STRONG_TYPEDEF(TNodeId, ui32); constexpr TNodeId InvalidNodeId = TNodeId(0); constexpr TNodeId MaxNodeId = TNodeId((1 << 24) - 1); // TNodeId must fit into 24 bits (see TChunkReplica) +YT_DEFINE_STRONG_TYPEDEF(TChunkLocationIndex, ui32); +constexpr TChunkLocationIndex InvalidChunkLocationIndex = TChunkLocationIndex(0); +constexpr TChunkLocationIndex MaxChunkLocationIndex = TChunkLocationIndex(std::numeric_limits<ui32>::max()); + using THostId = NObjectClient::TObjectId; using TRackId = NObjectClient::TObjectId; using TDataCenterId = NObjectClient::TObjectId; |
