From d25755230d11255cb6049ae0352b15bc256bf7d4 Mon Sep 17 00:00:00 2001 From: Peter Dyson Date: Thu, 6 Jun 2019 12:40:20 +1000 Subject: [PATCH] shrink may full copy when using multi data paths Additional scenario for full segment copy if hard link cannot work across disks. --- docs/reference/indices/shrink-index.asciidoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/reference/indices/shrink-index.asciidoc b/docs/reference/indices/shrink-index.asciidoc index 24a67208f7289..aa73d3d1350bb 100644 --- a/docs/reference/indices/shrink-index.asciidoc +++ b/docs/reference/indices/shrink-index.asciidoc @@ -17,7 +17,10 @@ Shrinking works as follows: * Then it hard-links segments from the source index into the target index. (If the file system doesn't support hard-linking, then all segments are copied - into the new index, which is a much more time consuming process.) + into the new index, which is a much more time consuming process. Also if using + multiple data paths, shards on different data paths require a full copy of + segment files if they are not on the same disk since hardlinks don’t work across + disks) * Finally, it recovers the target index as though it were a closed index which had just been re-opened.