Skip to content

Commit d81e86a

Browse files
committed
Document the index corruption bug that gets fixed via Lucene 8.5.1. (#55232)
Using soft deletes on shrunk indices may cause corruption.
1 parent 08fb973 commit d81e86a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/reference/release-notes/7.0.asciidoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ Also see <<breaking-changes-7.0,Breaking changes in 7.0>>.
109109
[float]
110110
=== Known issues
111111

112+
* Applying deletes or updates on an index after it has been shrunk may corrupt
113+
the index. In order to prevent this issue, it is recommended to stop shrinking
114+
read-write indices. For read-only indices, it is recommended to force-merge
115+
indices after shrinking, which significantly reduces the likeliness of this
116+
corruption in the case that deletes/updates would be applied by mistake. This
117+
bug is fixed in {es} 7.7 and later versions. More details can be found on the
118+
https://issues.apache.org/jira/browse/LUCENE-9300[corresponding issue].
119+
112120
* Indices created in 6.x with <<date,`date`>> and <<date_nanos,`date_nanos`>> fields using formats
113121
that are incompatible with java.time patterns will cause parsing errors, incorrect date calculations or wrong search results.
114122
https://github.com/elastic/elasticsearch/pull/52555

0 commit comments

Comments
 (0)