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

Cluster ha improvements #1769

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Commits on Apr 7, 2021

  1. Make enqueue a synhronous call

    marc committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    331d03e View commit details
    Browse the repository at this point in the history
  2. Add handshake on internode TCP connection

    The message block "in transit" is buffered until acknowledged by the
    receiving node.
    In case the receiving node crashed, the buffer is sent again when
    the connection is re-established.
    In case the subscriber reconnected to another node, the resent messages
    are forwarded to that new node.
    marc committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    cf2fffd View commit details
    Browse the repository at this point in the history
  3. catch crashes during queue migration

    marc committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    b7f364e View commit details
    Browse the repository at this point in the history
  4. Only release messages when acknowledged

    Messages from the queue that are published to the subscriber were saved
    in a backup queue and released (=deleted from persistent storage) before
    they were delivered/acknowledged by the client.
    Now the messages are only released when the acknowledge is received.
    marc committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    1c6e571 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5b05e61 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. Apply suggestions from code review

    Remove excess blank lines
    
    Co-authored-by: Dairon Medina Caro <dairon.medina@gmail.com>
    MarcVanOevelen and codeadict committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    7cf085d View commit details
    Browse the repository at this point in the history
  2. Clearer log statements using node name

    marc committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    a0c7aaf View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2021

  1. Remove debug message

    Marc Van Oevelen committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    7f749b1 View commit details
    Browse the repository at this point in the history
  2. Fix bug introduced by removing Pending check

    This avoids high cpu due to needless looping.
    Marc Van Oevelen committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    ed49ad2 View commit details
    Browse the repository at this point in the history