Visitar URL original
Comparing v3.1.8...v3.1.9 · rabbitmq/ra · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rabbitmq/ra
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.8
Choose a base ref
...
head repository: rabbitmq/ra
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.9
Choose a head ref
  • 14 commits
  • 7 files changed
  • 4 contributors

Commits on Jun 22, 2026

  1. Configuration menu
    Copy the full SHA
    f523376 View commit details
    Browse the repository at this point in the history
  2. override on windows latest only

    lshir committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    9860b38 View commit details
    Browse the repository at this point in the history
  3. matrix

    lshir committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    73c8252 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2026

  1. trigger failed build

    lshir committed Jun 23, 2026
    Configuration menu
    Copy the full SHA
    aaf3b0a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #639 from lshir/sl/ci-setup-beam-win25

    ci: temporary fix for windows-latest changed
    michaelklishin authored Jun 23, 2026
    Configuration menu
    Copy the full SHA
    eff2b89 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2026

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

Commits on Jul 3, 2026

  1. Forward follower's append_entries_reply when it already has the snapshot

    A follower whose last_applied is at or ahead of an incoming snapshot's
    index rejects the install_snapshot_rpc with an append_entries_reply
    rather than an install_snapshot_result. The snapshot sender treated this
    as fatal (exit(unexpected_install_snapshot_result)), so the reply never
    reached the leader and next_index was never corrected — the leader
    re-sent the same snapshot indefinitely, until the next election.
    
    The sender now forwards that reply to the leader and exits normally. The
    leader's existing success = false handler advances next_index to the
    position the follower indicated, breaking the loop.
    
    Adds ra_SUITE test snapshot_installation_target_already_has_snapshot.
    kjnilsson committed Jul 3, 2026
    Configuration menu
    Copy the full SHA
    51f9810 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2026

  1. Merge pull request #641 from rabbitmq/snapshot-install-dead-lock-bug

    Forward follower's append_entries_reply when it already has the snapshot
    kjnilsson authored Jul 6, 2026
    Configuration menu
    Copy the full SHA
    9ce468e View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2026

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

Commits on Jul 13, 2026

  1. Snapshot send: skip init phase when there are no live indexes.

    This appears to be a regression, the init phase should only be
    used when there are live indexes to send.
    kjnilsson committed Jul 13, 2026
    Configuration menu
    Copy the full SHA
    87b667d View commit details
    Browse the repository at this point in the history
  2. Reset pending entries with ra_log:set_last_index/2

    Fix (src/ra_log.erl): set_last_index/2 now clamps pending to the new last index (pending = ra_seq:limit(Idx, Pend0)) in both success branches, matching the same defensive pattern already used in append/2, write/2, write_sparse/3, and commit_tx/1.
    
    Bug it fixes: without the clamp, resetting the log backward (e.g. on a term-mismatch rollback) left stale higher indexes in pending. Since the "old" mem table is kept as the prev link of the freshly-swapped-in one, those stale entries are still physically readable — so if the WAL later sent a {resend_write, Idx} request into that gap, ra_log:resend_from/2 would happily resend the already-discarded, truncated log entries back into the WAL, resurrecting data the reset was meant to get rid of.
    kjnilsson committed Jul 13, 2026
    Configuration menu
    Copy the full SHA
    85cfe27 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2026

  1. Merge pull request #644 from rabbitmq/tweaks-5000

    Fix stale `last_written`/`pending` state after log truncation, and a snapshot-send regression
    kjnilsson authored Jul 14, 2026
    Configuration menu
    Copy the full SHA
    2e24676 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #640 from visciang/main

    Fix `force_shrink_members_to_current_member/1` typespec
    kjnilsson authored Jul 14, 2026
    Configuration menu
    Copy the full SHA
    a3631d4 View commit details
    Browse the repository at this point in the history
  3. v3.1.9

    kjnilsson committed Jul 14, 2026
    Configuration menu
    Copy the full SHA
    6c3671b View commit details
    Browse the repository at this point in the history
Loading