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

Fix checkpoint abort handling #3830

Merged
merged 2 commits into from
Apr 1, 2021
Merged

Fix checkpoint abort handling #3830

merged 2 commits into from
Apr 1, 2021

Conversation

jberci
Copy link
Contributor

@jberci jberci commented Apr 1, 2021

No description provided.

go/worker/storage/committee/checkpoint_sync.go Outdated Show resolved Hide resolved
- The storage worker's checkpoint syncer left the database in an
  "in-progress" state after a chunk failed to restore, preventing
  essentially any further modifications.
- The mux consensus app never called restore abort functions on
  failures.
@jberci jberci force-pushed the jberci/fix/checkpoint-abort branch from cf90ffc to 4a68053 Compare April 1, 2021 15:58
@codecov
Copy link

codecov bot commented Apr 1, 2021

Codecov Report

Merging #3830 (4a68053) into master (af4af15) will increase coverage by 0.05%.
The diff coverage is 33.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3830      +/-   ##
==========================================
+ Coverage   67.21%   67.26%   +0.05%     
==========================================
  Files         404      404              
  Lines       40952    40997      +45     
==========================================
+ Hits        27525    27578      +53     
+ Misses       9543     9539       -4     
+ Partials     3884     3880       -4     
Impacted Files Coverage Δ
go/consensus/tendermint/abci/mux.go 57.65% <0.00%> (-2.35%) ⬇️
go/storage/mkvs/checkpoint/checkpoint.go 100.00% <ø> (ø)
go/worker/storage/committee/checkpoint_sync.go 71.95% <54.28%> (-1.54%) ⬇️
go/storage/mkvs/checkpoint/restorer.go 95.55% <100.00%> (+4.06%) ⬆️
go/worker/storage/committee/node.go 78.05% <100.00%> (ø)
go/consensus/tendermint/apps/staking/state/gas.go 81.13% <0.00%> (-3.78%) ⬇️
...consensus/tendermint/apps/scheduler/state/state.go 62.22% <0.00%> (-2.23%) ⬇️
go/consensus/tendermint/full/services.go 80.00% <0.00%> (-1.67%) ⬇️
go/runtime/client/submitter.go 67.16% <0.00%> (-1.50%) ⬇️
go/consensus/tendermint/apps/staking/fees.go 46.37% <0.00%> (-1.45%) ⬇️
... and 24 more

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 af4af15...4a68053. Read the comment docs.

@jberci jberci merged commit 4f5c83b into master Apr 1, 2021
@jberci jberci deleted the jberci/fix/checkpoint-abort branch April 1, 2021 16:38
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

2 participants