Skip to content

Conversation

andreidan
Copy link
Contributor

This fixes testRetryPointInTime which on teardown is looking to assert that the operations in the translog and in the lucene index are the same.

Previously we didn't wait for the translog operations to be applied. This changes assertConsistentHistoryInLuceneIndex to wait for the pending operations in the translog to be applied.

Fixes #117116

This fixes testRetryPointInTime which on teardown is looking to assert that the operations in the translog and in the lucene index are the same. Previously we didn't wait for the translog operations to be applied. This changes `assertConsistentHistoryInLuceneIndex` to wait for the pending operations in the translog to be applied.
@andreidan andreidan added >test Issues or PRs that are addressing/adding tests :Search Foundations/Search Catch all for Search Foundations v9.0.0 v8.18.0 labels Dec 9, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Dec 9, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@andreidan
Copy link
Contributor Author

@elasticmachine update branch

@andreidan andreidan added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged labels Dec 9, 2024
@elasticsearchmachine elasticsearchmachine merged commit b4e852a into elastic:main Dec 9, 2024
16 checks passed
@andreidan andreidan deleted the fix-testRetryPointInTime branch December 9, 2024 11:00
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 118244

andreidan added a commit to andreidan/elasticsearch that referenced this pull request Dec 9, 2024
) This fixes testRetryPointInTime which on teardown is looking to assert that the operations in the translog and in the lucene index are the same. Previously we didn't wait for the translog operations to be applied. This changes `assertConsistentHistoryInLuceneIndex` to wait for the pending operations in the translog to be applied. Fixes elastic#117116 (cherry picked from commit b4e852a) Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
elasticsearchmachine pushed a commit that referenced this pull request Dec 9, 2024
…118258) This fixes testRetryPointInTime which on teardown is looking to assert that the operations in the translog and in the lucene index are the same. Previously we didn't wait for the translog operations to be applied. This changes `assertConsistentHistoryInLuceneIndex` to wait for the pending operations in the translog to be applied. Fixes #117116 (cherry picked from commit b4e852a) Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch >test Issues or PRs that are addressing/adding tests v8.18.0 v9.0.0

4 participants