Skip to content

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

Merged
heifner merged 2 commits intorelease/5.0from
GH-1858-test-5.0
Nov 7, 2023
Merged

[5.0] PH: Improve error handling and use one strand#1866
heifner merged 2 commits intorelease/5.0from
GH-1858-test-5.0

Conversation

@heifner
Copy link
Contributor

@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 requested review from greg7mdp and linh2931 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
Contributor 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
@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