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

[YSQL] Improve exception handling (YugaByte/yugabyte-db#938) #40

Merged
merged 7 commits into from Jul 18, 2019
Merged

[YSQL] Improve exception handling (YugaByte/yugabyte-db#938) #40

merged 7 commits into from Jul 18, 2019

Conversation

frozenspider
Copy link

@frozenspider frozenspider commented Jul 15, 2019

(Done as a part of yugabyte/yugabyte-db#938)

  • Made exception handling/wrapping aware of additional cases
  • Wrapped teardown in with-errors to prevent it from failing the test

@frozenspider frozenspider changed the title Improve exception handling [YSQL] Improve exception handling Jul 15, 2019
@frozenspider frozenspider changed the title [YSQL] Improve exception handling [YSQL] Improve exception handling (YugaByte/yugabyte-db#938) Jul 15, 2019
@frozenspider frozenspider marked this pull request as ready for review July 15, 2019 13:48
#"(?i)This connection has been closed"
{:type :info, :error [:conn-closed m]}

; Happens when there's a problem communicating with server
Copy link
Collaborator

Choose a reason for hiding this comment

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

which server is meant here?

Copy link
Author

Choose a reason for hiding this comment

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

Given that this is PG driver-level errors section, PG driver only communicates with tserver

Copy link
Collaborator

Choose a reason for hiding this comment

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

Then it is worth to make it clear in section description.

@frozenspider frozenspider merged commit 3c83a3f into yugabyte:master-yb Jul 18, 2019
@frozenspider frozenspider deleted the improve-exception-handling branch July 18, 2019 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants