File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -219,11 +219,13 @@ class RetryPolicy(str, Enum):
219
219
application to deal with failed replica departures and
220
220
replacement replica admittance.
221
221
2. APPLICATION: Restarts the entire application.
222
-
222
+ 3. QUORUM: Restarts the replicas for a role as long as the quorum is not
223
+ violated. (EXPERIMENTAL)
223
224
"""
224
225
225
226
REPLICA = "REPLICA"
226
227
APPLICATION = "APPLICATION"
228
+ QUORUM = "QUORUM"
227
229
228
230
229
231
class MountType (str , Enum ):
@@ -322,6 +324,8 @@ class Role:
322
324
and num_replicas depending on the cluster resources and
323
325
policies. If the scheduler doesn't support auto scaling this
324
326
field is ignored and the job size will be num_replicas.
327
+ EXPERIMENTAL: For Quorum Restart policy this field is used to indicate the
328
+ quorum required for the job to run.
325
329
max_retries: max number of retries before giving up
326
330
retry_policy: retry behavior upon replica failures
327
331
resource: Resource requirement for the role. The role should be scheduled
You can’t perform that action at this time.
0 commit comments