Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
9.3
-
None
-
None
-
New
Description
Rolling back an IndexWriter without committing shouldn't take long (i.e., less than several seconds), and Elasticsearch cluster coordination relies on this assumption. If some merges are taking place, the rollback can take several minutes as merges only check for abort when writing to files via MergeRateLimiter. Merging a completion field, for example, can take a long time without touching output files. Another reason merges should periodically check for abort is its outputs will be discarded.