Skip to content

Commit 3137b4e

Browse files
geekpetemariha
authored andcommitted
shrink may full copy when using multi data paths (elastic#42913)
Additional scenario for full segment copy if hard link cannot work across disks.
1 parent c9032fb commit 3137b4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/reference/indices/shrink-index.asciidoc

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ Shrinking works as follows:
1717

1818
* Then it hard-links segments from the source index into the target index. (If
1919
the file system doesn't support hard-linking, then all segments are copied
20-
into the new index, which is a much more time consuming process.)
20+
into the new index, which is a much more time consuming process. Also if using
21+
multiple data paths, shards on different data paths require a full copy of
22+
segment files if they are not on the same disk since hardlinks don’t work across
23+
disks)
2124

2225
* Finally, it recovers the target index as though it were a closed index which
2326
had just been re-opened.

0 commit comments

Comments
 (0)