committed by
Alessio Treglia
parent
995aea853c
commit
65be4dbf09
@@ -198,6 +198,7 @@ func (rs *Store) Commit() types.CommitID {
|
||||
|
||||
// Need to update atomically.
|
||||
batch := rs.db.NewBatch()
|
||||
defer batch.Close()
|
||||
setCommitInfo(batch, version, commitInfo)
|
||||
setLatestVersion(batch, version)
|
||||
batch.Write()
|
||||
|
||||
Reference in New Issue
Block a user