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

Sync upstream #76

Merged
merged 25 commits into from
Oct 4, 2024
Merged

Sync upstream #76

merged 25 commits into from
Oct 4, 2024

Commits on Apr 10, 2024

  1. Bump codecov/codecov-action from 4.1.0 to 4.2.0 (eBay#499)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.0 to 4.2.0.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@54bcd87...7afa10e)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    4b148a7 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Bump codecov/codecov-action from 4.2.0 to 4.3.0 (eBay#500)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.2.0 to 4.3.0.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@7afa10e...8450866)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    51b07ae View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. auto_fwd_resp_handler should forward resp->get_result_code (eBay#497) (

    …eBay#498)
    
    * auto_fwd_resp_handler should forward resp->get_result_code (eBay#497)
    
    * auto_fwd_resp_handler should forward resp->get_result_code (eBay#497)
    
    ---------
    
    Co-authored-by: byronhe <[email protected]>
    byronhe and byronhe authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    d195630 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ca916a View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. fix src/tracer.hxx stack-buffer-overflow when using vsnprintf's retur…

    …n value (eBay#502) (eBay#503)
    
    * fix src/tracer.hxx stack-buffer-overflow when using vsnprintf's return value (eBay#502)
    
    * 1. add logger_test to code coverage test 2. logger_test set printTestMessage to true   (eBay#502)
    
    ---------
    
    Co-authored-by: byronhe <[email protected]>
    byronhe and byronhe authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    17cdd1f View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    83a847b View commit details
    Browse the repository at this point in the history
  2. 1. cmd_result::get_result_str add SERVER_IS_LEAVING (eBay#505) (eBay#506

    )
    
    Co-authored-by: byronhe <[email protected]>
    byronhe and byronhe authored May 6, 2024
    Configuration menu
    Copy the full SHA
    3a64f74 View commit details
    Browse the repository at this point in the history
  3. Bump actions/checkout from 4.1.2 to 4.1.4 (eBay#507)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.4.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@9bb5618...0ad4b8f)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 6, 2024
    Configuration menu
    Copy the full SHA
    929132f View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Add more sanity checks on a new connection (eBay#508)

    * If there is an incoming random message, where `CRC_ON_ENTIRE_MESSAGE`
    flag is randomly set, NuRaft tries to read the entire message for CRC
    check. That requires allocating a memory blob with the given size
    (also a random number) which most likely causes problem.
    
    * Added more sanity checks before the memory allocation.
    greensky00 authored May 15, 2024
    Configuration menu
    Copy the full SHA
    32502e4 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Fix to the wrong example in calc_state_machine.hxx (eBay#514)

    * Once reading snapshot request fails, the state machine should return
    a negative number, not 0.
    greensky00 authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    ad102a4 View commit details
    Browse the repository at this point in the history
  2. Bump actions/checkout from 4.1.4 to 4.1.6 (eBay#511)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.6.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@0ad4b8f...a5ac7e5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    e05a8a2 View commit details
    Browse the repository at this point in the history
  3. Bump codecov/codecov-action from 4.3.0 to 4.4.1 (eBay#512)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.4.1.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@8450866...125fc84)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    f7ac85f View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Add timeout to async_connect operation (eBay#516)

    * Add timeout to async_connect operation
    
    If the network goes down during a async_connect, we may end up being
    stuck forever in this function since there is no timeout to cancel it.
    
    Signed-off-by: Alex Michon <[email protected]>
    
    * Indent and line breaking
    
    ---------
    
    Signed-off-by: Alex Michon <[email protected]>
    Co-authored-by: Jung-Sang Ahn <[email protected]>
    amichon-kalray and greensky00 authored Jun 18, 2024
    Configuration menu
    Copy the full SHA
    8731295 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Add result code to response messages (eBay#515)

    * Add result code to response messages
    
    In some cases, the response is marked as accepted even if there was an
    error. Therefore, including the accepted tag in the response message is
    not enough: a follower may believe that an auto forwarded request was
    successful when it wasn't.
    
    Signed-off-by: Alex Michon <[email protected]>
    
    * [Update PR] Add `int32_t` to `cmd_result_code`
    
    ---------
    
    Signed-off-by: Alex Michon <[email protected]>
    Co-authored-by: Jung-Sang Ahn <[email protected]>
    amichon-kalray and greensky00 authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    52d9236 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Bump codecov/codecov-action from 4.4.1 to 4.5.0 (eBay#518)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.1 to 4.5.0.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@125fc84...e28ff12)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 3, 2024
    Configuration menu
    Copy the full SHA
    340f632 View commit details
    Browse the repository at this point in the history
  2. Bump actions/checkout from 4.1.6 to 4.1.7 (eBay#519)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@a5ac7e5...692973e)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 3, 2024
    Configuration menu
    Copy the full SHA
    35083c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Notify user code about follower loss (eBay#517)

    * Notify user code about follower loss
    
    * PR review fixes
    
    * Fixed a warning "comparison of integer expressions of different signedness"
    
    * [Update PR] Add comments and put more set_recovered() calls
    
    ---------
    
    Co-authored-by: Pavel Yurin <[email protected]>
    Co-authored-by: Jung-Sang Ahn <[email protected]>
    3 people authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    0e28077 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Matching format specifies type to argument type to eliminate compile … (

    eBay#521)
    
    * Matching format specifies type to argument type to eliminate compile warnings
    
    * Apply comments
    
    * Fix another place
    
    ---------
    
    Co-authored-by: Zexi Liu <[email protected]>
    ZexiLiu and Zexi Liu authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    f4c8e05 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Use leadership_expiry_ to deem nodes unhealthy (eBay#523)

    * use leadership_expiry_ to deem nodes unhealthy
    
    * address pr comments
    antoniofilipovic authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    bd8fb29 View commit details
    Browse the repository at this point in the history
  2. Fix to bug in handle_cli_req (eBay#526)

    * When a leader invokes `end_of_append_batch`, the first parameter
    represents the starting index of the batch. There was missing `+1`.
    greensky00 authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    a4029e1 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    0a754e0 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    ea1385e View commit details
    Browse the repository at this point in the history
  2. Use pthread_exit to terminate raft service. (eBay#536)

    * Use pthread_exit to terminate raft service.
    
    Allow the process to handle termination of raft service rather than
    force process wide `exit()`. This is compile time configurable during CMake configuration.
    
    Addresses eBay#535
    
    ---------
    
    Co-authored-by: Jung-Sang Ahn <[email protected]>
    szmyd and greensky00 authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    6741a45 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Add a callback to handle misbehaving messages from peer (eBay#537)

    * Callback can decide whether to ignore or to die.
    greensky00 authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    092997a View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    91ec2e7 View commit details
    Browse the repository at this point in the history