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

Recovery API should also report ongoing relocation recoveries #6585

Closed
wants to merge 2 commits into from

Conversation

bleskes
Copy link
Contributor

@bleskes bleskes commented Jun 21, 2014

We currently only report relocation related recoveries after they are done.

We currently only report relocation related recoveries after they are done.
ensureGreen();

logger.info("--> slowing down recoveries");
assertTrue(client().admin().cluster().prepareUpdateSettings().setTransientSettings("max_bytes_per_sec: 1").get().isAcknowledged());
Copy link
Member

Choose a reason for hiding this comment

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

I think you set the wrong setting here? it needs to be indices.recovery.max_bytes_per_sec (there is a constant for it (RecoverySettings#INDICES_RECOVERY_MAX_BYTES_PER_SEC). Also, much nicer to set using the explicitly settings object I would say.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops. Changing.

@kimchy
Copy link
Member

kimchy commented Jun 21, 2014

LGTM, except for that slowdown recovery settings question

@areek areek assigned rmuir and unassigned rmuir Jun 23, 2014
@bleskes bleskes closed this in ca19459 Jun 28, 2014
bleskes added a commit that referenced this pull request Jun 28, 2014
We currently only report relocation related recoveries after they are done.

Closes #6585
@jpountz jpountz removed the review label Jul 16, 2014
@clintongormley clintongormley changed the title Recovery API should also report ongoing relocation recoveries Admin: Recovery API should also report ongoing relocation recoveries Jul 16, 2014
@bleskes bleskes deleted the recovery_report_relocation branch February 14, 2015 14:08
@clintongormley clintongormley added the :Data Management/Stats Statistics tracking and retrieval APIs label Jun 7, 2015
@clintongormley clintongormley changed the title Admin: Recovery API should also report ongoing relocation recoveries Recovery API should also report ongoing relocation recoveries Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Stats Statistics tracking and retrieval APIs v1.3.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants