Skip to content

roachpb: avoid advertising UnhandledRetryableError as client-visible#37998

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20190604-drop-error-pgcode
Jun 4, 2019
Merged

roachpb: avoid advertising UnhandledRetryableError as client-visible#37998
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20190604-drop-error-pgcode

Conversation

@knz
Copy link
Copy Markdown
Contributor

@knz knz commented Jun 4, 2019

Requested by @andreimatei: the "client-visible" retry errors are those
that trigger a SQL code 40001. Since UnhandledRetryableError does
not flow back through SQL, it needs not be marked by this interface.

Release note: None

@knz knz requested review from a team and andreimatei June 4, 2019 08:56
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Requested by @andreimatei: the "client-visible" retry errors are those
that trigger a SQL code 40001. Since `UnhandledRetryableError` does
not flow back through SQL, it needs not be marked by this interface.

Release note: None
@knz knz force-pushed the 20190604-drop-error-pgcode branch from 59c95ac to c0ea5a9 Compare June 4, 2019 09:50
@knz knz requested a review from a team June 4, 2019 09:50
Copy link
Copy Markdown
Contributor

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

LGTM

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @andreimatei)

@knz
Copy link
Copy Markdown
Contributor Author

knz commented Jun 4, 2019

thanks

bors r+

craig bot pushed a commit that referenced this pull request Jun 4, 2019
37995: sql/delegate: move delegateShowDatabaseIndexes to its own file r=knz a=knz

(we generally try to use different files for different concerns)

Release note: None

37998: roachpb: avoid advertising UnhandledRetryableError as client-visible r=knz a=knz

Requested by @andreimatei: the "client-visible" retry errors are those
that trigger a SQL code 40001. Since `UnhandledRetryableError` does
not flow back through SQL, it needs not be marked by this interface.

Release note: None

Co-authored-by: Raphael 'kena' Poss <knz@cockroachlabs.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 4, 2019

Build succeeded

@craig craig bot merged commit c0ea5a9 into cockroachdb:master Jun 4, 2019
@knz knz deleted the 20190604-drop-error-pgcode branch June 5, 2019 06:23
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