-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don’t verify evictions in testFilterCacheStats #42091
Conversation
Pinging @elastic/es-distributed |
@dnhatn makes perfect sense to me just removing these. I wonder though for the sake of consistency, can't we just do the same fix I did for the second half of the test in 9c0a429 at the beginning of this test as well and simply force merge to avoid the background merges? (the question is more for my education in case the answer is no, this fix is just fine with me :) as well) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@original-brownbear I considered your option first then I thought it's more interesting if we let merges happen. I am fine with either way. |
@dnhatn let's keep yours :) no reason to forego the coverage of what happens with ongoing merges then. |
Thanks @original-brownbear |
If a background merge and refresh happens after a search but before a stats query, then evictions will be non-zero. Closes #32506
If a background merge and refresh happens after a search but before a stats query, then evictions will be non-zero. Closes #32506
If a background merge and refresh happens after a search but before a stats query, then evictions will be non-zero. Closes #32506
If a background merge and refresh happens after a search but before a stats query, then evictions will be non-zero. Closes #32506
If a background merge and refresh happens after a search but before a stats query, then evictions will be non-zero. Closes elastic#32506
If a background merge and refresh happens after a search (line 1032) but before a stats query (line 1034), then
evictions
will be non-zero. I removed these assertions since they are quite brittle.Closes #32506