Commit 9640726
authored
If we run into a background merge between creating the snapshot and closing the index
then with compound files we could be in a situation where we get zero file reuse
on restore.
Force merging before the snapshot gives us a single segment that won't change down the line
so the restore always sees file reuse from the close index.
Closes #63476
1 parent bd07e44 commit 9640726
File tree
1 file changed
+5
-5
lines changed- server/src/internalClusterTest/java/org/elasticsearch/snapshots
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
565 | 564 | | |
566 | 565 | | |
567 | 566 | | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | 567 | | |
572 | | - | |
| 568 | + | |
573 | 569 | | |
574 | 570 | | |
575 | 571 | | |
| |||
581 | 577 | | |
582 | 578 | | |
583 | 579 | | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
| |||
0 commit comments