Skip to content

Commit

Permalink
distsql: make analyze request SI (#37019)
Browse files Browse the repository at this point in the history
ref #36983
  • Loading branch information
Yisaer authored Aug 11, 2022
1 parent d6d0ce7 commit bfea86c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion distsql/request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (builder *RequestBuilder) SetAnalyzeRequest(ana *tipb.AnalyzeReq) *RequestB
builder.Request.Tp = kv.ReqTypeAnalyze
builder.Request.Data, builder.err = ana.Marshal()
builder.Request.NotFillCache = true
builder.Request.IsolationLevel = kv.RC
builder.Request.IsolationLevel = kv.SI
builder.Request.Priority = kv.PriorityLow
}

Expand Down
2 changes: 1 addition & 1 deletion distsql/request_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ func TestRequestBuilder5(t *testing.T) {
KeepOrder: true,
Desc: false,
Concurrency: 15,
IsolationLevel: kv.RC,
IsolationLevel: kv.SI,
Priority: 1,
NotFillCache: true,
ReadReplicaScope: kv.GlobalReplicaScope,
Expand Down

0 comments on commit bfea86c

Please sign in to comment.