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

sql: add SHOW TRANSFER STATE observer statement #76127

Merged
merged 1 commit into from
Feb 19, 2022

Commits on Feb 19, 2022

  1. sql: add SHOW TRANSFER STATE observer statement

    Informs cockroachdb#76000.
    
    This commit adds the SHOW TRANSFER STATE observer statement, as described in
    the sqlproxy connection migration RFC. This observer statement will be used
    whenever a connection is about to be migrated to retrieve the relevant values
    needed for the transfer process. A unique aspect to this statement is that
    serialization or token generation errors will be returned as a SQL value
    instead of an ErrorResponse. This will allow the sqlproxy to react accordingly,
    and to reduce ambiguity issues during transferring.
    
    This observer statement will only work on tenants (due to the need of token
    generation). Since this is meant to be used internally only, there is no
    release note.
    
    Release note: None
    
    Co-authored-by: Jay <jay@cockroachlabs.com>
    Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
    jaylim-crl and rafiss committed Feb 19, 2022
    Configuration menu
    Copy the full SHA
    36a7a2c View commit details
    Browse the repository at this point in the history