-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Improve shard concurrency #3251
Conversation
miguelportilla
commented
Feb 6, 2020
- Reduce lock scope on all public functions
- Use TaskQueue to process shard finalization in separate thread
- Store shard last ledger hash and other info in backend
- Use temp SQLite DB versus control file when acquiring
855f633
to
46d85c4
Compare
Codecov Report
@@ Coverage Diff @@
## develop #3251 +/- ##
===========================================
- Coverage 70.61% 70.36% -0.26%
===========================================
Files 676 677 +1
Lines 54339 54530 +191
===========================================
- Hits 38374 38369 -5
- Misses 15965 16161 +196
Continue to review full report at Codecov.
|
2691234
to
ddc7b7d
Compare
The validate parameter hasn't been removed from a few spots in the code: . |
d56bab8
to
c79f17b
Compare
@undertome Issues with validate parameter fixed. |
c79f17b
to
96810ea
Compare
3bb861f
to
fb7ee53
Compare
94b8241
to
5a20ed0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just found a few minor issues.
7630fc0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of really trivial nits. Otherwise, this looks good to go.
e9f60c2
to
ad638ff
Compare
ad638ff
to
e35c2ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The most recent commits look good to me. I left a belt-and-suspenders kind of a comment for your consideration. You can either choose to apply it or not as you see fit.
07ca43d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks great to me. Nice restructure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍