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

Remove scheduled routing #11776

Merged
merged 1 commit into from Jun 23, 2015
Merged

Commits on Jun 23, 2015

  1. Remove scheduled routing

    Today, we have scheduled reroute that kicks every 10 seconds and checks if a
    reroute is needed. We use it when adding nodes, since we don't reroute right
    away once its added, and give it a time window to add additional nodes.
    
    We do have recover after nodes setting and such in order to wait for enough
    nodes to be added, and also, it really depends at what part of the 10s window
    you end up, sometimes, it might not be effective at all. In general, its historic
    from the times before we had recover after nodes and such.
    
    This change removes the 10s scheduling, simplifies RoutingService, and adds
    explicit reroute when a node is added to the system. It also adds unit tests
    to RoutingService.
    
    closes elastic#11776
    kimchy committed Jun 23, 2015
    Copy the full SHA
    435ce7f View commit details
    Browse the repository at this point in the history