Skip to content

Commit

Permalink
Merge pull request #11403 from jingyih/automated-cherry-pick-of-#1140…
Browse files Browse the repository at this point in the history
…0-upstream-release-3.4

Automated cherry pick of #11400 on release 3.4
  • Loading branch information
jingyih committed Nov 27, 2019
2 parents 1af0b51 + 8c10973 commit 94e46ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mvcc/kvstore_compaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func (s *store) scheduleCompaction(compactMainRev int64, keep map[revision]struc
rev = bytesToRev(key)
if _, ok := keep[rev]; !ok {
tx.UnsafeDelete(keyBucketName, key)
keyCompactions++
}
}

Expand Down

0 comments on commit 94e46ba

Please sign in to comment.