fix(store/v1): Do not panic on prune in Commit (#18897)
This commit is contained in:
parent
f3e18dfb63
commit
f08c8cce31
@ -496,7 +496,10 @@ func (rs *Store) Commit() types.CommitID {
|
||||
rs.removalMap = make(map[types.StoreKey]bool)
|
||||
|
||||
if err := rs.handlePruning(version); err != nil {
|
||||
panic(err)
|
||||
rs.logger.Error(
|
||||
"failed to prune store, please check your pruning configuration",
|
||||
"err", err,
|
||||
)
|
||||
}
|
||||
|
||||
return types.CommitID{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user