-
Notifications
You must be signed in to change notification settings - Fork 50
Size-based unsharding #94
Conversation
8223156 to
068bcdd
Compare
This comment has been minimized.
This comment has been minimized.
068bcdd to
3301178
Compare
This comment has been minimized.
This comment has been minimized.
aschmahmann
left a comment
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.
Thanks and sorry for the late review. It looks like there are still a number of FIXMEs in the PR which are needed pre-merge. I commented on the ones where it looks like you had questions, but if there are more please tag me.
It looks like the tests for this PR are split between here and #99. Which would you like me to take a look at? Should #99 be rebased on this PR (or just merged in?).
@Stebalien I left some comments/questions for you when convenient. Before we do the final merge here though I'll want another set of eyes.
a5cc9db to
2f8574e
Compare
Stebalien
left a comment
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.
naming nits
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
* fix(dir): remove timeout and evaluate switch *before* removing entry * BLOCKING: temporary fix * remove Shard cid not used and not maintained * update blocking readme * resolve FIXME * fix: add back concurrent option in dag.walk * decouple switch from directory downgrade
- Add tests for automatic unsharding - Modified some internals to be sufficiently extensible for testing
51cb5fe to
9ea81f2
Compare
* feat: use custom dag traversal for HAMT link enumeration * fix comments in completehamt_test.go Co-authored-by: Lucas Molas <schomatis@gmail.com>
aschmahmann
left a comment
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.
YESSSSSSSS 🎉
Update 8/26: Working on tests in #99. Moving minor changes for last in #105.
Working on tests in separate PR (to be merged on top of this one): #99.
Review in progress.
Most important items to address:
sizeBelowThresholdloop. Remove tiemout and refactor sizeBelowThreshold #102AddEntrycase: . Add unsharding logic for the AddChild case as well #103switchToBasicfunction in unsharding PR #101.