Skip to content

Commit

Permalink
batcheval: check GCThreshold in RevertRange command
Browse files Browse the repository at this point in the history
I think somehow I got mixed up about when a key is GC'ed in that original comment.
So that we can time-travel to any time within GC window, we already only GC a key
when there is a newer _expired_ key over it, and the requirements for being able
to revert to a time are no different than being able to read at that time, so the
same GCThreshold check we do elsewhere should also be good enough here.

Release note: none.
  • Loading branch information
dt committed Jul 29, 2019
1 parent 18a7112 commit 41b3dad
Show file tree
Hide file tree
Showing 4 changed files with 153 additions and 147 deletions.
Loading

0 comments on commit 41b3dad

Please sign in to comment.