File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ func RunTestMain(m *testing.M) {
89
89
// backoff function will lead to sleep, so there is a high probability of goroutine leak while it's doing backoff.
90
90
goleak .IgnoreTopFunction ("github.com/tikv/client-go/v2/config/retry.(*Config).createBackoffFn.newBackoffFn.func2" ),
91
91
goleak .IgnoreTopFunction ("go.opencensus.io/stats/view.(*worker).start" ),
92
+ // the resolveFlushedLocks goroutine runs in the background to commit or rollback locks.
93
+ goleak .IgnoreAnyFunction ("github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).resolveFlushedLocks.func1" ),
92
94
}
93
95
callback := func (i int ) int {
94
96
// wait for MVCCLevelDB to close, MVCCLevelDB will be closed in one second
You can’t perform that action at this time.
0 commit comments