Skip to content

Commit

Permalink
Remove excessive VTGate logging of default planner selection (vitessi…
Browse files Browse the repository at this point in the history
…o#14554)

Signed-off-by: Harshit Gangal <[email protected]>
  • Loading branch information
harshit-gangal authored and ejortegau committed Dec 13, 2023
1 parent 6fe1858 commit ae1dad9
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 ae1dad9

Please sign in to comment.