Skip to content

Cleaned up simple stuff around scatter con#6257

Merged
sougou merged 2 commits intovitessio:masterfrom
planetscale:di-reserved-connections
Jun 2, 2020
Merged

Cleaned up simple stuff around scatter con#6257
sougou merged 2 commits intovitessio:masterfrom
planetscale:di-reserved-connections

Conversation

@systay
Copy link
Copy Markdown
Collaborator

@systay systay commented Jun 2, 2020

No description provided.

Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay requested a review from sougou as a code owner June 2, 2020 15:23
// ExecuteMultiShard implements the IExecutor interface
func (e *Executor) ExecuteMultiShard(ctx context.Context, rss []*srvtopo.ResolvedShard, queries []*querypb.BoundQuery, tabletType topodatapb.TabletType, session *SafeSession, notInTransaction bool, autocommit bool) (qr *sqltypes.Result, errs []error) {
return e.scatterConn.ExecuteMultiShard(ctx, rss, queries, tabletType, session, notInTransaction, autocommit)
return e.scatterConn.ExecuteMultiShard(ctx, rss, queries, session, notInTransaction, autocommit)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you can drop the tabletType from the outer function also. Is there a reason to keep it?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: deepthi <deepthi@planetscale.com>
@sougou sougou merged commit 642b597 into vitessio:master Jun 2, 2020
@deepthi deepthi added this to the v7.0 milestone Jul 17, 2020
@deepthi deepthi deleted the di-reserved-connections branch July 31, 2020 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants