Skip to content

Commit ae1dad9

Browse files
harshit-gangalejortegau
authored andcommitted
Remove excessive VTGate logging of default planner selection (vitessio#14554)
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
1 parent 6fe1858 commit ae1dad9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

go/vt/vtgate/planbuilder/builder.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import (
2424
"vitess.io/vitess/go/sqltypes"
2525
"vitess.io/vitess/go/test/vschemawrapper"
2626
"vitess.io/vitess/go/vt/key"
27-
"vitess.io/vitess/go/vt/log"
2827
querypb "vitess.io/vitess/go/vt/proto/query"
2928
topodatapb "vitess.io/vitess/go/vt/proto/topodata"
3029
"vitess.io/vitess/go/vt/sqlparser"
@@ -130,7 +129,6 @@ func getConfiguredPlanner(vschema plancontext.VSchema, stmt sqlparser.Statement,
130129
case Gen4Left2Right, Gen4GreedyOnly, Gen4:
131130
default:
132131
// default is gen4 plan
133-
log.Infof("Using Gen4 planner instead of %s", planner.String())
134132
planner = Gen4
135133
}
136134
return gen4Planner(query, planner), nil

0 commit comments

Comments
 (0)