From ce46dd723f5a9ce88a32c17a1b012c5b64c6788f Mon Sep 17 00:00:00 2001
From: pogorelov <pogorelov@yandex-team.com>
Date: Thu, 26 Sep 2024 07:01:22 +0300
Subject: YT-14116: Restart gang operation jobs on another one job restart

* Changelog entry

Type: feature
Component: map-reduce

Inroduced operation incarnation controller that restart all jobs of operation on one job terminated (useful for distributed machine learning)
commit_hash:1c8af58b607c543698b92cc64319898de18ed48e
---
 yt/yt/client/scheduler/public.h | 1 +
 yt/yt/core/misc/id_generator.h  | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/yt/yt/client/scheduler/public.h b/yt/yt/client/scheduler/public.h
index d07e8469df..d92ae73f78 100644
--- a/yt/yt/client/scheduler/public.h
+++ b/yt/yt/client/scheduler/public.h
@@ -133,6 +133,7 @@ DEFINE_ENUM(EAbortReason,
     ((UnresolvedNodeId)                ( 53))
     ((RootVolumePreparationFailed)     ( 54))
     ((InterruptionFailed)              ( 55))
+    ((OperationIncarnationChanged)     ( 56))
     ((SchedulingFirst)                 (100))
     ((SchedulingTimeout)               (101))
     ((SchedulingResourceOvercommit)    (102))
diff --git a/yt/yt/core/misc/id_generator.h b/yt/yt/core/misc/id_generator.h
index 8fc1eff48b..8e0bd71554 100644
--- a/yt/yt/core/misc/id_generator.h
+++ b/yt/yt/core/misc/id_generator.h
@@ -21,7 +21,6 @@ public:
 
 private:
     std::atomic<ui64> Current_ = 0;
-
 };
 
 ////////////////////////////////////////////////////////////////////////////////
-- 
cgit v1.2.3