summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorermolovd <[email protected]>2023-11-16 09:36:29 +0300
committerermolovd <[email protected]>2023-11-16 09:57:56 +0300
commit24208bb135fb6dc9d9df179bc8c9177ad418e4a3 (patch)
tree5f22c8a841e7702fb0458fbf7904bc1d28ee2ed7
parent90981a88d57bdb4f9616b3671334ee0e2b23836b (diff)
Move MaxFailedJobCount to TOperationSpecBase
-rw-r--r--yt/cpp/mapreduce/interface/operation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt/cpp/mapreduce/interface/operation.h b/yt/cpp/mapreduce/interface/operation.h
index 9220bbc692d..8ea26ae0d3c 100644
--- a/yt/cpp/mapreduce/interface/operation.h
+++ b/yt/cpp/mapreduce/interface/operation.h
@@ -538,6 +538,9 @@ struct TOperationSpecBase
/// How much resources can be consumed by operation.
FLUENT_FIELD_OPTION_ENCAPSULATED(TSchedulerResources, ResourceLimits);
+
+ /// How many jobs can fail before operation is failed.
+ FLUENT_FIELD_OPTION(ui64, MaxFailedJobCount);
};
///
@@ -550,9 +553,6 @@ struct TUserOperationSpecBase
using TSelf = TDerived;
/// @endcond
- /// How many jobs can fail before operation is failed.
- FLUENT_FIELD_OPTION(ui64, MaxFailedJobCount);
-
/// On any unsuccessful job completion (i.e. abortion or failure) force the whole operation to fail.
FLUENT_FIELD_OPTION(bool, FailOnJobRestart);