Skip to content

Commit

Permalink
flush after fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Nov 12, 2024
1 parent 4dd1645 commit 74813d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versiondb/tsrocksdb/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (s Store) FixData(storeNames []string, dryRun bool) error {
}

Check warning on line 242 in versiondb/tsrocksdb/store.go

View check run for this annotation

Codecov / codecov/patch

versiondb/tsrocksdb/store.go#L241-L242

Added lines #L241 - L242 were not covered by tests
}

return nil
return s.Flush()
}

// fixDataStore iterate the wrong data at version 0, parse the timestamp from the key and write it again.
Expand Down

0 comments on commit 74813d5

Please sign in to comment.