aboutsummaryrefslogtreecommitdiffstats
path: root/yt
diff options
context:
space:
mode:
authoreshcherbin <eshcherbin@yandex-team.com>2024-11-27 13:38:47 +0300
committereshcherbin <eshcherbin@yandex-team.com>2024-11-27 13:56:35 +0300
commit7a839b707e72ca32d19c71f3bf7fdb6b55edb7a7 (patch)
tree219e35022cebf5764af8cdfa9070677dbfaebf98 /yt
parentdadc554c7891260353a649ab0d4173cbbcb13ac2 (diff)
downloadydb-7a839b707e72ca32d19c71f3bf7fdb6b55edb7a7.tar.gz
Define unknown values for EAbortReason and EInterruptReason
commit_hash:e0f8ab3f08f2ae15232d48a5f61f73dccf6d7794
Diffstat (limited to 'yt')
-rw-r--r--yt/yt/client/scheduler/public.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/yt/yt/client/scheduler/public.h b/yt/yt/client/scheduler/public.h
index 10e930bb93..16eb844994 100644
--- a/yt/yt/client/scheduler/public.h
+++ b/yt/yt/client/scheduler/public.h
@@ -155,6 +155,8 @@ DEFINE_ENUM(EAbortReason,
((SchedulingLast) (199))
);
+DEFINE_ENUM_UNKNOWN_VALUE(EAbortReason, Unknown);
+
DEFINE_ENUM(EInterruptReason,
((None) (0))
((Preemption) (1))
@@ -164,6 +166,8 @@ DEFINE_ENUM(EInterruptReason,
((JobsDisabledOnNode) (5))
);
+DEFINE_ENUM_UNKNOWN_VALUE(EInterruptReason, Unknown);
+
DEFINE_ENUM(EAutoMergeMode,
(Disabled)
(Relaxed)