Skip to content

Commit

Permalink
Problem: snapshot for object store is not skipped (cosmos#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe authored and dudong2 committed Oct 30, 2024
1 parent e1669d4 commit ad69ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error {
switch store := rs.GetCommitStore(key).(type) {
case *iavl.Store:
stores = append(stores, namedStore{name: key.Name(), Store: store})
case *transient.Store, *mem.Store:
case *transient.Store, *mem.Store, *transient.ObjStore:
// Non-persisted stores shouldn't be snapshotted
continue
default:
Expand Down

0 comments on commit ad69ee0

Please sign in to comment.