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
harshit-gangal authored Nov 21, 2023
1 parent 1c5e487 commit 49a1154
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 @@ -24,7 +24,6 @@ import (
"vitess.io/vitess/go/sqltypes"
"vitess.io/vitess/go/test/vschemawrapper"
"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 @@ -130,7 +129,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 49a1154

Please sign in to comment.