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 recovered translog ops stat counting when retrying a batch #11536

Merged

Conversation

bleskes
Copy link
Contributor

@bleskes bleskes commented Jun 8, 2015

#11363 introduced a retry logic for the case where we have to wait on a mapping update during the translog replay phase of recovery. The retry throws or recovery stats off as it may count ops twice.

See http://build-us-00.elastic.co/job/es_g1gc_master_metal/8381/ for an example failure

elastic#11363 introduced a retry logic for the case where we have to wait on a mapping update during the translog replay phase of recovery. The retry throws or recovery stats off as it may count ops twice.
@bleskes bleskes added >bug v2.0.0-beta1 review :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. labels Jun 8, 2015
@s1monw
Copy link
Contributor

s1monw commented Jun 8, 2015

LGTM

bleskes added a commit that referenced this pull request Jun 8, 2015
…mapping_retry

Fix recovered translog ops stat counting when retrying a batch
@bleskes bleskes merged commit 16d9480 into elastic:master Jun 8, 2015
@kevinkluge kevinkluge removed the review label Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants