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

[5.0] PH: Improve error handling and use one strand #1866

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Nov 6, 2023

Update async http client to use one strand like the multi-threaded boost example.
Improve error reporting so an un-caught exception is not generated.

The core file of #1858 did not reveal anything useful. Do a bit of cleanup and hope for the best.

Maybe Resolves #1858

@heifner heifner changed the base branch from main to release/5.0 November 6, 2023 17:55
@heifner heifner added the OCI Work exclusive to OCI team label Nov 6, 2023
@greg7mdp
Copy link
Contributor

greg7mdp commented Nov 6, 2023

Overall lgtm. I'm wondering about the sleep(1) calls when disconnecting. it seems that it would prevent the threads from doing anything else, but maybe it is not an issue for PH?

@heifner
Copy link
Member Author

heifner commented Nov 6, 2023

Overall lgtm. I'm wondering about the sleep(1) calls when disconnecting. it seems that it would prevent the threads from doing anything else, but maybe it is not an issue for PH?

Yeah, the trx generator is not doing anything at that point except for waiting on async operations to finish.

@heifner heifner merged commit 3e3d4d4 into release/5.0 Nov 7, 2023
29 checks passed
@heifner heifner deleted the GH-1858-test-5.0 branch November 7, 2023 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

performance_test_basic_read_only_trxs failure
3 participants