Skip to content

Commit

Permalink
p-dml: resolve locks concurrently (#1584) (#1603)
Browse files Browse the repository at this point in the history
close #1577

Signed-off-by: you06 <[email protected]>
  • Loading branch information
you06 authored Mar 3, 2025
1 parent cd84cab commit 63056cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/locate/region_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ import (
"time"
"unsafe"

"github.com/tikv/client-go/v2/oracle"
"go.uber.org/zap"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
Expand All @@ -64,6 +63,7 @@ import (
"github.com/tikv/client-go/v2/internal/logutil"
"github.com/tikv/client-go/v2/kv"
"github.com/tikv/client-go/v2/metrics"
"github.com/tikv/client-go/v2/oracle"
"github.com/tikv/client-go/v2/tikvrpc"
"github.com/tikv/client-go/v2/util"
"github.com/tikv/pd/client/errs"
Expand Down
1 change: 1 addition & 0 deletions txnkv/transaction/pipelined_flush.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ func (c *twoPhaseCommitter) resolveFlushedLocks(bo *retry.Backoffer, start, end
handler,
)
runner.SetStatLogInterval(30 * time.Second)
runner.SetRegionsPerTask(1)

go func() {
if err = runner.RunOnRange(bo.GetCtx(), start, end); err != nil {
Expand Down

0 comments on commit 63056cf

Please sign in to comment.