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

Cleanup MergeScheduler infrastrucutre #11602

Merged
merged 1 commit into from Jun 11, 2015

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Jun 11, 2015

This commit cleans up all the MergeScheduler infrastructure
and simplifies / removes all unneeded abstractions. The MergeScheduler
itself is now private to the Engine and all abstractions like Providers
that had support for multiple merge schedulers etc. are removed.

@mikemccand do you wanna review this please

public static final String MAX_THREAD_COUNT = "index.merge.scheduler.max_thread_count";
public static final String MAX_MERGE_COUNT = "index.merge.scheduler.max_merge_count";
public static final String AUTO_THROTTLE = "index.merge.scheduler.auto_throttle";
public static final String NOTIFY_ON_MERGE_FAILURE = "index.merge.scheduler.notify_on_failure"; // why would we not wanna do this?
Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to remove this and always notify!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will open a new issue for this

@mikemccand
Copy link
Contributor

LGTM, this is a great cleanup ... I just left a few comments.

@s1monw
Copy link
Contributor Author

s1monw commented Jun 11, 2015

pushed a new commit

@mikemccand
Copy link
Contributor

LGTM

This commit cleans up all the MergeScheduler infrastructure
and simplifies / removes all unneeded abstractions. The MergeScheduler
itself is now private to the Engine and all abstractions like Providers
that had support for multiple merge schedulers etc. are removed.

Closes elastic#11602
@s1monw s1monw merged commit 440580d into elastic:master Jun 11, 2015
@s1monw s1monw removed the review label Jun 11, 2015
@clintongormley clintongormley added :Core/Infra/Core Core issues without another label v2.0.0-beta1 and removed :Internal labels Jun 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >enhancement v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants