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

Inline TransportReplAction#registerRequestHandlers #40762

Commits on Apr 3, 2019

  1. Inline TransportReplAction#registerRequestHandlers

    It is important that resync actions are not rejected on the primary even if its
    `write` threadpool is overloaded. Today we do this by exposing
    `registerRequestHandlers` to subclasses and overriding it in
    `TransportResyncReplicationAction`. This isn't ideal because it obscures the
    difference between this action and other replication actions, and also might
    allow subclasses to try and use some state before they are properly
    initialised. This change replaces this override with a constructor parameter to
    solve these issues.
    
    Relates elastic#40706
    DaveCTurner committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    dd60098 View commit details
    Browse the repository at this point in the history