File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -237,17 +237,12 @@ class RetryPolicy(str, Enum):
237
237
application to deal with failed replica departures and
238
238
replacement replica admittance.
239
239
2. APPLICATION: Restarts the entire application.
240
- 3. HOT_SPARE: Restarts the replicas for a role as long as quorum (min_replicas)
241
- is not violated using extra hosts as spares. It does not really support
242
- elasticity and just uses the delta between num_replicas and min_replicas
243
- as spares (EXPERIMENTAL).
244
- 4. ROLE: Restarts the role when any error occurs in that role. This does not
240
+ 3. ROLE: Restarts the role when any error occurs in that role. This does not
245
241
restart the whole job.
246
242
"""
247
243
248
244
REPLICA = "REPLICA"
249
245
APPLICATION = "APPLICATION"
250
- HOT_SPARE = "HOT_SPARE"
251
246
ROLE = "ROLE"
252
247
253
248
@@ -347,8 +342,6 @@ class Role:
347
342
and num_replicas depending on the cluster resources and
348
343
policies. If the scheduler doesn't support auto scaling this
349
344
field is ignored and the job size will be num_replicas.
350
- EXPERIMENTAL: For HOT_SPARE restart policy this field is used to
351
- indicate the quorum required for the job to run.
352
345
max_retries: max number of retries before giving up
353
346
retry_policy: retry behavior upon replica failures
354
347
resource: Resource requirement for the role. The role should be scheduled
You can’t perform that action at this time.
0 commit comments