Skip to content

Reserve connection protobuf changes#6303

Merged
sougou merged 1 commit intovitessio:masterfrom
planetscale:new-reserved-connections
Jun 16, 2020
Merged

Reserve connection protobuf changes#6303
sougou merged 1 commit intovitessio:masterfrom
planetscale:new-reserved-connections

Conversation

@harshit-gangal
Copy link
Copy Markdown
Member

@harshit-gangal harshit-gangal commented Jun 11, 2020

Linked to #6107
Signed-off-by: Harshit Gangal harshit@planetscale.com

@harshit-gangal harshit-gangal requested a review from sougou as a code owner June 11, 2020 11:40
Signed-off-by: Harshit Gangal <harshit@planetscale.com>

Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay force-pushed the new-reserved-connections branch from e787457 to 558625e Compare June 11, 2020 12:04
@systay systay mentioned this pull request Jun 11, 2020
@harshit-gangal harshit-gangal force-pushed the new-reserved-connections branch from 701b256 to 9d3b288 Compare June 14, 2020 12:20
@systay systay force-pushed the new-reserved-connections branch from 9d3b288 to 558625e Compare June 15, 2020 06:57
Copy link
Copy Markdown
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

Can you link to the RFC for each of the reserved connection PRs?

// CommitResponse is the returned value from Commit
message CommitResponse {}
message CommitResponse {
int64 reserved_id = 1;
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.

Why do we need to return this for Commit and Rollback?

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.

Because a commit will cause the id to change, to prevent reuse of ids.

@sougou sougou merged commit 3af27f3 into vitessio:master Jun 16, 2020
@systay systay deleted the new-reserved-connections branch June 24, 2020 17:26
@deepthi deepthi added this to the v7.0 milestone Jul 17, 2020
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.

4 participants