Skip to content

Commit be06a03

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 5589e3d commit be06a03

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docs/reference/release-notes/7.0.asciidoc

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

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

docs/reference/release-notes/7.1.asciidoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ Also see <<breaking-changes-7.1,Breaking changes in 7.1>>.
66
[float]
77
=== Known issues
88

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

0 commit comments

Comments
 (0)