Commit 794c2f3
committed
Snapshot clones do not conflict with index deletes (#75298)
Today we refuse to delete an index if it is the subject of an ongoing
non-partial snapshot, but we also consider the indices targetted by
ongoing clones. This commit ignores clones in the conflict detection
logic.1 parent e97c4ce commit 794c2f3
File tree
2 files changed
+21
-1
lines changed- server/src
- main/java/org/elasticsearch/snapshots
- test/java/org/elasticsearch/snapshots
2 files changed
+21
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3395 | 3395 | | |
3396 | 3396 | | |
3397 | 3397 | | |
3398 | | - | |
| 3398 | + | |
3399 | 3399 | | |
3400 | 3400 | | |
3401 | 3401 | | |
| |||
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
384 | 386 | | |
385 | 387 | | |
386 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
387 | 407 | | |
388 | 408 | | |
389 | 409 | | |
| |||
0 commit comments