Skip to content
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

Fix possible assertion failure in IndicesQueryCache.close #38733

Conversation

droberts195
Copy link
Contributor

The assertion that the stats2 map is empty in
IndicesQueryCache.close has been observed to
fail very occasionally in internal cluster tests.

The likely cause is a cross-thread visibility
problem for a count variable. This change
makes that count volatile.

Relates #37117
Backport of #38714

)

The assertion that the stats2 map is empty in
IndicesQueryCache.close has been observed to
fail very occasionally in internal cluster tests.

The likely cause is a cross-thread visibility
problem for a count variable.  This change
makes that count volatile.

Relates elastic#37117
@droberts195 droberts195 added :ml Machine learning backport labels Feb 11, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@droberts195 droberts195 merged commit 3b1abd7 into elastic:6.7 Feb 11, 2019
@droberts195 droberts195 deleted the fix_indices_query_cache_assert_fail_on_close_67 branch February 11, 2019 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :ml Machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants