Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statistic: improve ipv6 for analyze job meta (#45177) #45187

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions executor/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ import (
"context"
"fmt"
"math"
<<<<<<< HEAD
"math/rand"
"runtime"
"sort"
=======
"net"
>>>>>>> db381848680 (statistic: improve ipv6 for analyze job meta (#45177))
"strconv"
"strings"
"sync"
Expand Down Expand Up @@ -440,7 +444,11 @@ func (e *AnalyzeIndexExec) fetchAnalyzeResult(ranges []*ranger.Range, isNullRang
if e.isCommonHandle && e.idxInfo.Primary {
kvReqBuilder = builder.SetHandleRangesForTables(e.ctx.GetSessionVars().StmtCtx, []int64{e.tableID.GetStatisticsID()}, true, ranges, nil)
} else {
<<<<<<< HEAD
kvReqBuilder = builder.SetIndexRangesForTables(e.ctx.GetSessionVars().StmtCtx, []int64{e.tableID.GetStatisticsID()}, e.idxInfo.ID, ranges)
=======
instance = net.JoinHostPort(serverInfo.IP, strconv.Itoa(int(serverInfo.Port)))
>>>>>>> db381848680 (statistic: improve ipv6 for analyze job meta (#45177))
}
kvReqBuilder.SetResourceGroupTagger(e.ctx.GetSessionVars().StmtCtx)
kvReq, err := kvReqBuilder.
Expand Down