Skip to content

Mute accounting circuit breaker check after test#42448

Merged
dnhatn merged 1 commit intoelastic:masterfrom
dnhatn:mute-accouting-breaker
May 23, 2019
Merged

Mute accounting circuit breaker check after test#42448
dnhatn merged 1 commit intoelastic:masterfrom
dnhatn:mute-accouting-breaker

Conversation

@dnhatn
Copy link
Copy Markdown
Member

@dnhatn dnhatn commented May 23, 2019

If we close an engine while a refresh is happening, then we might leak refCount of some SegmentReaders. We need to skip the ram accounting circuit breaker check until we have a new Lucene snapshot which includes the fix https://issues.apache.org/jira/browse/LUCENE-8809.

I added a test to the engine but left it muted so we won't forget to reenable this check.

Closes #30290

@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. v8.0.0 v7.2.0 v6.8.1 v7.1.1 labels May 23, 2019
@dnhatn dnhatn requested review from dakrone, jpountz and s1monw May 23, 2019 15:06
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

Copy link
Copy Markdown
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for finding this Nhat

@dnhatn
Copy link
Copy Markdown
Member Author

dnhatn commented May 23, 2019

Thanks @dakrone.

@dnhatn dnhatn merged commit 4bec333 into elastic:master May 23, 2019
@dnhatn dnhatn deleted the mute-accouting-breaker branch May 23, 2019 17:27
@jpountz jpountz added v7.1.2 and removed v7.1.1 labels May 24, 2019
dnhatn added a commit that referenced this pull request May 24, 2019
If we close an engine while a refresh is happening, then we might leak
refCount of some SegmentReaders. We need to skip the ram accounting
circuit breaker check until we have a new Lucene snapshot which includes
the fix for LUCENE-8809.

This also adds a test to the engine but left it muted so we won't forget
to reenable this check.

Closes #30290
dnhatn added a commit that referenced this pull request May 24, 2019
If we close an engine while a refresh is happening, then we might leak
refCount of some SegmentReaders. We need to skip the ram accounting
circuit breaker check until we have a new Lucene snapshot which includes
the fix for LUCENE-8809.

This also adds a test to the engine but left it muted so we won't forget
to reenable this check.

Closes #30290
dnhatn added a commit that referenced this pull request May 24, 2019
If we close an engine while a refresh is happening, then we might leak
refCount of some SegmentReaders. We need to skip the ram accounting
circuit breaker check until we have a new Lucene snapshot which includes
the fix for LUCENE-8809.

This also adds a test to the engine but left it muted so we won't forget
to reenable this check.

Closes #30290
dnhatn added a commit that referenced this pull request May 25, 2019
If we close an engine while a refresh is happening, then we might leak
refCount of some SegmentReaders. We need to skip the ram accounting
circuit breaker check until we have a new Lucene snapshot which includes
the fix for LUCENE-8809.

This also adds a test to the engine but left it muted so we won't forget
to reenable this check.

Relates #30290
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
If we close an engine while a refresh is happening, then we might leak
refCount of some SegmentReaders. We need to skip the ram accounting
circuit breaker check until we have a new Lucene snapshot which includes
the fix for LUCENE-8809.

This also adds a test to the engine but left it muted so we won't forget
to reenable this check.

Closes elastic#30290
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Engine Anything around managing Lucene and the Translog in an open shard. >test Issues or PRs that are addressing/adding tests v6.8.1 v7.1.2 v7.2.0 v7.3.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] AssertionError: Accounting breaker not reset

5 participants