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

Relstable3.2.3 remerge #3372

Merged
merged 7 commits into from
Jan 6, 2022
Merged

Relstable3.2.3 remerge #3372

merged 7 commits into from
Jan 6, 2022

Conversation

Algo-devops-service
Copy link
Contributor

Summary

Merge back 3.2.3 stable code to keep commits aligned in master branch.

tsachiherman and others added 7 commits December 27, 2021 11:52
)

## Summary

This PR moves the catchpoint file writing to be performed outside of the trackers lock. This resolves the issue where a long catchpoint file writing blocks the agreement from validating and propagating votes.

## Test Plan

* [x] Test manually & use existing tests.
* [x] Implement a unit test
* [x] Deploy a local network where the catchpoint writing takes a long time and verify it doesn't get blocked during catchpoint writing.
@codecov-commenter
Copy link

codecov-commenter commented Jan 5, 2022

Codecov Report

Merging #3372 (55c4fa5) into master (7248b95) will decrease coverage by 9.98%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3372      +/-   ##
==========================================
- Coverage   47.65%   37.67%   -9.99%     
==========================================
  Files         369      367       -2     
  Lines       59660    59642      -18     
==========================================
- Hits        28433    22470    -5963     
- Misses      27914    34216    +6302     
+ Partials     3313     2956     -357     
Impacted Files Coverage Δ
util/condvar/timedwait.go 0.00% <0.00%> (-100.00%) ⬇️
data/transactions/payset.go 0.00% <0.00%> (-100.00%) ⬇️
ledger/internal/assetcow.go 0.00% <0.00%> (-100.00%) ⬇️
crypto/merklearray/worker.go 0.00% <0.00%> (-100.00%) ⬇️
crypto/compactcert/structs.go 0.00% <0.00%> (-100.00%) ⬇️
agreement/agreementtest/keyManager.go 0.00% <0.00%> (-100.00%) ⬇️
daemon/algod/api/server/lib/middlewares/auth.go 0.00% <0.00%> (-100.00%) ⬇️
agreement/agreementtest/simulate.go 0.00% <0.00%> (-87.68%) ⬇️
util/metrics/service.go 0.00% <0.00%> (-87.10%) ⬇️
crypto/compactcert/bigfloat.go 0.00% <0.00%> (-87.04%) ⬇️
... and 163 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 7248b95...55c4fa5. Read the comment docs.

@onetechnical
Copy link
Contributor

onetechnical commented Jan 5, 2022

Should this also bump the minor version to 3? Never mind, it was already done

@algobarb
Copy link
Contributor

algobarb commented Jan 5, 2022

Should this also bump the minor version to 3?

No because the minor version was already bumped to 3 by 3.2.1-stable.

@algojohnlee algojohnlee merged commit 52a1a2c into algorand:master Jan 6, 2022
@algobarb algobarb deleted the relstable3.2.3-remerge branch January 6, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants