Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reserve connection protobuf changes #6303

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

harshit-gangal
Copy link
Member

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

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

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

Signed-off-by: Andres Taylor <andres@planetscale.com>
Copy link
Member

@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?

@@ -476,7 +477,9 @@ message CommitRequest {
}

// CommitResponse is the returned value from Commit
message CommitResponse {}
message CommitResponse {
int64 reserved_id = 1;
Copy link
Member

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
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