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

Add new message type MsgGroupBroadcast and corresponding handler #485

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Commits on Oct 8, 2022

  1. Add new message type MsgGroupBroadcast and corresponding handler

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    cdfcb55 View commit details
    Browse the repository at this point in the history
  2. Add MsgGroupBroadcastResponse and corresponding handler

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    40b6c96 View commit details
    Browse the repository at this point in the history
  3. Send MsgAppend with empty entries when agent cannot forward

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    05059d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. Inline function of querying the information of progress which support…

    …s agent selection
    
    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    6ed6465 View commit details
    Browse the repository at this point in the history
  2. async log entries fetch for forwarding

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    c5a6992 View commit details
    Browse the repository at this point in the history
  3. integration test cases for MsgGroupBroadcast

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    62da866 View commit details
    Browse the repository at this point in the history
  4. Refine the procedure of forwarding msgapp

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    e638481 View commit details
    Browse the repository at this point in the history
  5. Refine handle_group_broadcast and add some comments

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    f605f68 View commit details
    Browse the repository at this point in the history
  6. Maintain broadcast group configuration in progress

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    72ad3e6 View commit details
    Browse the repository at this point in the history
  7. Group broadcast log entries in bcast_append when follower replication…

    … is enabled
    
    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    0a01106 View commit details
    Browse the repository at this point in the history
  8. Interface of querying whether two peers are in same broadcast group

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    0cc4fa9 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Simplify message packing in fn send_forward

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    c75d269 View commit details
    Browse the repository at this point in the history
  2. Group and filter messages directly

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    20f0339 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. Simplfy bcast_append and merge_msg_group

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    60a80f2 View commit details
    Browse the repository at this point in the history
  2. Remove is_recent_active

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    91dd4be View commit details
    Browse the repository at this point in the history
  3. Add cache for message group

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    91855fb View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Fix a bug on merging message group

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    6f67e23 View commit details
    Browse the repository at this point in the history
  2. Optimize generating messages

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    ceeac51 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. Using vector as group information cache instead of hashmap

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    1e2e464 View commit details
    Browse the repository at this point in the history
  2. Async fetch for log entries in send_forward

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    67b8f30 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Unit tests for follower replication in fn bcast_append

    Signed-off-by: LintianShi <lintian.shi@pingcap.com>
    LintianShi committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    1e8b19f View commit details
    Browse the repository at this point in the history