mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-21 12:27:37 +00:00
Method TruncateTranslogIT#corruptTranslogFiles corrupts some random existing *.tlog files in a translog directory. However, this may not actually corrupt translog at all if it corrupts only tlog files which are not referenced by the Checkpoint (eg. their translog generations are smaller the Checkpoint). This commit makes sure that we corrupt some tlog files which are referenced by the Checkpoint. Closes #27538