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

kvs: report error to all fence requests #6583

Closed
wants to merge 3 commits into from

Conversation

chu11
Copy link
Member

@chu11 chu11 commented Jan 27, 2025

Problem: When an error occurs in a fence request, the error is
only reported to the requestor. In most cases, this is fine, but
the error should be reported to all members of the fence in some
cases. Most notably, it should be reported to all members of the
fence when the fence count has been reached and an error has
occurred after this point.

Solution: In fence_request_cb() return an error via
the kvs function error_event_send_to_name() when it is appropriate.


Spliting these few commits out of #6581 since it is an actual bug right now, no need to wait for #6581 to go in to fix it.

chu11 added 3 commits January 27, 2025 10:55

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Problem: There is an errant typo in which an upper case example
is written lower case.

Make the example character upper case.
Problem: The very generic word "count" is used in the tool's usage
and variable names.

Update to "fence count" to make this more clear.
Problem: When an error occurs in a fence request, the error is
only reported to the requestor.  In most cases, this is fine, but
the error should be reported to all members of the fence in some
cases.  Most notably, it should be reported to all members of the
fence when the fence count has been reached and an error has
occurred after this point.

Solution: In fence_request_cb() return an error via
the kvs function error_event_send_to_name() when it is appropriate.
@chu11
Copy link
Member Author

chu11 commented Jan 31, 2025

closing, with #6587 removing fence support, this issue is no longer relevant

@chu11 chu11 closed this Jan 31, 2025
Copy link

codecov bot commented Jan 31, 2025

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 79.47%. Comparing base (0836ef6) to head (7bce3b8).
Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
src/modules/kvs/kvs.c 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6583      +/-   ##
==========================================
- Coverage   79.48%   79.47%   -0.02%     
==========================================
  Files         531      531              
  Lines       88421    88425       +4     
==========================================
- Hits        70281    70272       -9     
- Misses      18140    18153      +13     
Files with missing lines Coverage Δ
src/common/libkvs/kvs_txn_compact.c 63.35% <ø> (ø)
src/modules/kvs/kvs.c 72.24% <0.00%> (-0.19%) ⬇️

... and 10 files with indirect coverage changes

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.

None yet

1 participant