mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
Modifying the translog replay to not replay again into the translog introduced a bug for the case of multiple operations for the same doc. Namely, since we were no longer updating the version map for each operation, the second operation for a doc would be treated as a creation instead of as an update. This commit fixes this bug by placing these operations into version map. This commit includes a failing test case. Relates #18611