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

receive: Only wait for write quorum #2621

Merged
merged 1 commit into from
May 20, 2020

Commits on May 19, 2020

  1. receive: Only wait for write quorum

    This patch modifies receive replication slightly, in that it doesn't
    always wait for all requests to complete anymore. If quorum amount of
    replication requests were successful it now does not wait for the
    remaining request to finish as it's not necessary to reach quorum
    anymore. In error cases where quorum is not reached, it still continues
    to wait for all requests to finish in an attempt to return a quorum
    error.
    
    Additionally this patch moves log lines printed in the parallelize
    requests function to debug logging. Calling functions already print the
    resulting error(s), so this was previously just noise, even in cases
    where requests actually succeeded.
    
    Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
    brancz committed May 19, 2020
    Configuration menu
    Copy the full SHA
    85b03e2 View commit details
    Browse the repository at this point in the history