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

Optimize linear search of WAIT and WAITAOF when unblocking the client #787

Merged
merged 4 commits into from
Aug 18, 2024

Commits on Jul 15, 2024

  1. Optimize clients_waiting_acks to avoid the linear search

    Remember the list node, and it can avoid the linear search
    in unblockClientWaitingReplicas.
    
    Signed-off-by: Binbin <binloveplay1314@qq.com>
    enjoy-binbin committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    0d293ca View commit details
    Browse the repository at this point in the history
  2. fix format

    Signed-off-by: Binbin <binloveplay1314@qq.com>
    enjoy-binbin committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    da630b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. move client_waiting_acks_list_node to blockingState

    Signed-off-by: Binbin <binloveplay1314@qq.com>
    enjoy-binbin committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    0b09385 View commit details
    Browse the repository at this point in the history
  2. format

    Signed-off-by: Binbin <binloveplay1314@qq.com>
    enjoy-binbin committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c88d5f9 View commit details
    Browse the repository at this point in the history