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: streamnative/oxia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.11.6
Choose a base ref
...
head repository: streamnative/oxia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.11.7
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 13, 2024

  1. fix(replication): fix wrong memory status block replication (#569)

    ### Motivation
    
    The follower didn't update the `lastAppendedOffset` status when the
    leader truncated the follower, which caused some expected entries to be
    filtered by deduplication logic and never recovered.
    
    The server will keep printing:
    
    ```
    {"level":"warn","time":"2024-11-13T11:38:33.0884113Z","component":"follower-cursor","error":{"error":"rpc error: code = Unknown desc = 20874694 can not immediately follow 20874678: oxia: invalid next offset in wal","kind":"*status.Error","stack":null},"follower":"xxxxxx","namespace":"xxxxxxxx","shard":13,"term":307,"time":"2024-11-13T11:38:33.088438126Z","message":"Error while receiving acks"}
    ```
    
    ### Modification
    
    - Align `lastAppendedOffset` alone with internal WAL headOffset.
    mattisonchao authored Nov 13, 2024
    Copy the full SHA
    ee0a7a4 View commit details
Loading