File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -969,8 +969,10 @@ func (s *PersistentSlabStorage) FastCommit(numWorkers int) error {
969
969
return nil
970
970
}
971
971
972
- // NondeterministicFastCommit commits changes in nondeterministic order.
973
- // This is used by migration program when ordering isn't required.
972
+ // NondeterministicFastCommit commits changed slabs in nondeterministic order.
973
+ // Encoded slab data is deterministic (e.g. array and map iteration is deterministic).
974
+ // IMPORTANT: This function is used by migration programs when commit order of slabs
975
+ // is not required to be deterministic (while preserving deterministic array and map iteration).
974
976
func (s * PersistentSlabStorage ) NondeterministicFastCommit (numWorkers int ) error {
975
977
// No changes
976
978
if len (s .deltas ) == 0 {
You can’t perform that action at this time.
0 commit comments