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: Misc cleanup & bug fixes #1244

Merged
merged 6 commits into from
Oct 20, 2017
Merged

Conversation

chu11
Copy link
Member

@chu11 chu11 commented Oct 20, 2017

Spliced out of a bigger PR for #1239. Nothing too exciting.

@garlick
Copy link
Member

garlick commented Oct 20, 2017

LGTM

@codecov-io
Copy link

codecov-io commented Oct 20, 2017

Codecov Report

Merging #1244 into master will increase coverage by 0.08%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master    #1244      +/-   ##
==========================================
+ Coverage   77.98%   78.06%   +0.08%     
==========================================
  Files         154      154              
  Lines       28961    28964       +3     
==========================================
+ Hits        22584    22610      +26     
+ Misses       6377     6354      -23
Impacted Files Coverage Δ
src/modules/kvs/kvs.c 63.72% <50%> (+0.2%) ⬆️
src/modules/kvs/commit.c 76.64% <75%> (+0.04%) ⬆️
src/cmd/flux-event.c 67.74% <0%> (-1.08%) ⬇️
src/common/libflux/message.c 81.25% <0%> (+0.11%) ⬆️
src/modules/connector-local/local.c 76.07% <0%> (+0.18%) ⬆️
src/common/libkvs/kvs.c 65.07% <0%> (+0.2%) ⬆️
src/common/libflux/future.c 89.25% <0%> (+0.46%) ⬆️
src/common/libflux/handle.c 84.15% <0%> (+0.49%) ⬆️
... and 4 more

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 78.636% when pulling 943cf26 on chu11:misccleanup11 into 2095397 on flux-framework:master.

@chu11
Copy link
Member Author

chu11 commented Oct 20, 2017

bad coverage on diff, unsurprising given hard to reach error paths. hit two write errors on builds and a hang, unclear when/how builder hung. Restarting.

chu11 added 6 commits October 20, 2017 13:35
Remove no longer relevant comment about synchronous loads.  Synchronous
loads were removed in commit 19e1fb8.
On cache_entry_create_json() error, we should not return to the
caller.  Instead we should fallthrough and still call setroot() below.
Handle both raw and json cache data when cleaning up in
commit_cleanup_dirty_cache_entry().
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling df5f572 on chu11:misccleanup11 into ** on flux-framework:master**.

@chu11
Copy link
Member Author

chu11 commented Oct 20, 2017

rebased and re-pushed, couple of builds had write-errors, restarted them and seems everything has passed now

@garlick
Copy link
Member

garlick commented Oct 20, 2017

Great - merging. Thanks!

@garlick garlick merged commit 117ea15 into flux-framework:master Oct 20, 2017
@grondo grondo mentioned this pull request May 10, 2018
@chu11 chu11 deleted the misccleanup11 branch June 5, 2021 16:57
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.

4 participants