Skip to content

Commit

Permalink
Remove excessive VTGate logging of default planner selection (#14554)
Browse files Browse the repository at this point in the history
Signed-off-by: Harshit Gangal <[email protected]>
  • Loading branch information
vitess-bot[bot] committed Nov 21, 2023
1 parent de593a7 commit 4656185
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions go/vt/vtgate/planbuilder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (

"vitess.io/vitess/go/sqltypes"
"vitess.io/vitess/go/vt/key"
"vitess.io/vitess/go/vt/log"
querypb "vitess.io/vitess/go/vt/proto/query"
topodatapb "vitess.io/vitess/go/vt/proto/topodata"
"vitess.io/vitess/go/vt/sqlparser"
Expand Down Expand Up @@ -116,7 +115,6 @@ func getConfiguredPlanner(vschema plancontext.VSchema, stmt sqlparser.Statement,
case Gen4Left2Right, Gen4GreedyOnly, Gen4:
default:
// default is gen4 plan
log.Infof("Using Gen4 planner instead of %s", planner.String())
planner = Gen4
}
return gen4Planner(query, planner), nil
Expand Down

0 comments on commit 4656185

Please sign in to comment.