๐๐ฎ๐๐ฎ, ๐๐ป๐ฎ๐น๐๐๐ถ๐ฐ๐ & ๐๐. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
fix: Respond with SnapshotMismatch error instead of internal error
This fix updates OpenRaft to version 0.9.8 to address an issue where,
upon receiving a SnapshotMismatch error, the snapshot should be resent
from the beginning. This ensures that the leader can correctly reset and
reinitiate the snapshot transmission process.
And meta-service should return SnapshotMismatch error instead of
returning an internal gRPC error.
Tests
[x] Unit Test
[ ] Logic Test
[ ] Benchmark Test
[ ] No Test - Explain why
Type of change
[x] Bug Fix (non-breaking change which fixes an issue)
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
fix: Respond with
SnapshotMismatch
error instead of internal errorThis fix updates OpenRaft to version 0.9.8 to address an issue where, upon receiving a
SnapshotMismatch
error, the snapshot should be resent from the beginning. This ensures that the leader can correctly reset and reinitiate the snapshot transmission process.And meta-service should return
SnapshotMismatch
error instead of returning an internal gRPC error.Tests
Type of change
Related Issues
This change isโ