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

Don't acquire Engine's readLock in segmentsStats #8910

Closed
wants to merge 1 commit into from

Conversation

mikemccand
Copy link
Contributor

I think we don't really need the readLock in InternalEngine.segmentsStats?

Related to #8905

@s1monw
Copy link
Contributor

s1monw commented Dec 12, 2014

LGTM

@s1monw
Copy link
Contributor

s1monw commented Dec 12, 2014

can we do this on 1.3.7 too?

@mikemccand
Copy link
Contributor Author

kk i'll port to 1.3.7 too

mikemccand added a commit that referenced this pull request Dec 12, 2014
Today, shard stats are blocked while phase 3 of recovery (replay xlog)
is running; this change removes the engine readLock from shard stats
so it's not blocked.

Closes #8910
mikemccand added a commit that referenced this pull request Dec 12, 2014
Today, shard stats are blocked while phase 3 of recovery (replay xlog)
is running; this change removes the engine readLock from shard stats
so it's not blocked.

Closes #8910
mikemccand added a commit that referenced this pull request Dec 12, 2014
Today, shard stats are blocked while phase 3 of recovery (replay xlog)
is running; this change removes the engine readLock from shard stats
so it's not blocked.

Closes #8910
@clintongormley clintongormley changed the title Core: don't acquire Engine's readLock in segmentsStats Core: Don't acquire Engine's readLock in segmentsStats Dec 16, 2014
@clintongormley clintongormley changed the title Core: Don't acquire Engine's readLock in segmentsStats Don't acquire Engine's readLock in segmentsStats Jun 7, 2015
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
Today, shard stats are blocked while phase 3 of recovery (replay xlog)
is running; this change removes the engine readLock from shard stats
so it's not blocked.

Closes elastic#8910
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
Today, shard stats are blocked while phase 3 of recovery (replay xlog)
is running; this change removes the engine readLock from shard stats
so it's not blocked.

Closes elastic#8910
@clintongormley clintongormley added :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. and removed :Engine :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. labels Feb 13, 2018
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. >enhancement v1.3.7 v1.4.2 v1.5.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants