Skip to content

Conversation

@mrodm
Copy link
Contributor

@mrodm mrodm commented Apr 18, 2024

When deleting old documents in a data stream (system tests) and wait to be zero or a lower number of documents, it should be checked if the first call is already zero documents.

In that scenario, there is no need to go into the loop wait.UntilTrue, data stream is already empty.

@mrodm mrodm self-assigned this Apr 18, 2024
@mrodm mrodm requested a review from a team April 18, 2024 11:54
@mrodm mrodm enabled auto-merge (squash) April 18, 2024 12:25
@mrodm mrodm merged commit ed1fab3 into elastic:main Apr 18, 2024
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @mrodm

@mrodm mrodm deleted the check_zero_old_documents branch April 18, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants