Skip to content

Conversation

@tanmaykm
Copy link
Member

@tanmaykm tanmaykm commented Jul 19, 2022

Added an as of now experimental option to enable locking while using
curl context concurrently. It can be switched on by passing true
for the enable_shared_locks flag to gRPCController.

But concurrent use of gRPCClient is flaky, even with curl locks and
particularly on Julia >= 1.7. The cause is unclear at this point. It could
be something to do with libcurl, or the way we use libcurl, or something
specific to the way libnghttp2 (that libcurl uses for HTTP2) works.

For the time being, I am adding this as a TODO item, and moving the
async tests under a flag.

Concurrent use of gRPCClient is flaky, particularly on Julia >= 1.7.
The cause is unclear at this point. It could be something to do with
libcurl, or the way we use libcurl, or something specific to the way
libnghttp2 (that libcurl uses for HTTP2) works.

For the time being, I am adding this as a TODO item, and moving the
async tests under a flag.
@codecov-commenter
Copy link

codecov-commenter commented Jul 19, 2022

Codecov Report

Merging #28 (f547f83) into main (655c590) will decrease coverage by 4.22%.
The diff coverage is 61.36%.

@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
- Coverage   95.55%   91.33%   -4.23%     
==========================================
  Files           5        5              
  Lines         270      323      +53     
==========================================
+ Hits          258      295      +37     
- Misses         12       28      +16     
Impacted Files Coverage Δ
src/gRPCClient.jl 100.00% <ø> (ø)
src/grpc.jl 90.62% <57.14%> (-4.12%) ⬇️
src/curl.jl 89.44% <62.16%> (-5.60%) ⬇️
src/generate.jl 95.58% <0.00%> (-1.14%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 655c590...f547f83. Read the comment docs.

Added an as of now experimental option to enable locking while using
curl context concurrently. It can be switched on by passing `true`
for the `enable_shared_locks` flag to gRPCController.
@tanmaykm tanmaykm merged commit 66e6860 into main Jul 19, 2022
@delete-merged-branch delete-merged-branch bot deleted the tan/misc branch July 19, 2022 06:30
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