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: axfor/MetaStore
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.11
Choose a base ref
...
head repository: axfor/MetaStore
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.0.12
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Mar 10, 2026

  1. fix: preserve lease GrantTime during WAL replay to prevent expired le…

    …ases from resurrecting after restart
    
    Record original GrantTime (unix nano) in Raft log entries so that WAL replay
    preserves the original timestamp instead of resetting it with timeNow(). This
    fixes a production bug where expired leases reappeared with fresh TTLs after
    cluster restart. Also fixes a TimeToLive cache/store race condition where
    SyncFromStore could load a lease concurrently revoked by another goroutine.
    
    Covers both RocksDB and Memory storage engines.
    axfor committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    fd6f4e3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #49 from axfor/rxx

    fix: preserve lease GrantTime during WAL replay to prevent expired le…
    axfor authored Mar 10, 2026
    Configuration menu
    Copy the full SHA
    82f7cd0 View commit details
    Browse the repository at this point in the history
Loading