Upgrade raft to v1.1.6 to fix panic on log compaction (#7811)

Fixes #7810

The raft library would panic when prevLogIndex was beyond the end of
the log after compaction. The fix in raft v1.1.6 returns nil instead,
triggering the snapshot fallback mechanism.
This commit is contained in:
Chris Lu
2025-12-17 13:41:49 -08:00
committed by GitHub
parent 22271358c6
commit 0e998e07d0
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@@ -71,7 +71,7 @@ require (
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/seaweedfs/goexif v1.0.3
github.com/seaweedfs/raft v1.1.3
github.com/seaweedfs/raft v1.1.6
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/afero v1.15.0 // indirect
github.com/spf13/cast v1.10.0 // indirect