Skip to content

Commit

Permalink
re-enable txn auto gc
Browse files Browse the repository at this point in the history
fixes cockroachdb#2717 (ok since cockroachdb#2799 has landed).
  • Loading branch information
tbg committed Nov 10, 2015
1 parent 103c75b commit c18c29d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions storage/replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ var TestingCommandFilter func(roachpb.Request, roachpb.Header) error
// upon EndTransaction if they only have local intents (which can be
// resolved synchronously with EndTransaction). Certain tests become
// simpler with this being turned off.
// TODO(tschottdorf): Push after removal can happen if txn is not
// single-roundtrip, and pusher will recreate a PENDING entry, getting
// stuck. Since txn gc story is not done yet (#2062), disabled for now.
var txnAutoGC = false
var txnAutoGC = true

// raftInitialLogIndex is the starting point for the raft log. We bootstrap
// the raft membership by synthesizing a snapshot as if there were some
Expand Down

0 comments on commit c18c29d

Please sign in to comment.