-
Notifications
You must be signed in to change notification settings - Fork 668
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(resharding): split shard twice #12635
Conversation
44da438
to
e2fdf0d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12635 +/- ##
=======================================
Coverage 70.48% 70.48%
=======================================
Files 845 845
Lines 172247 172279 +32
Branches 172247 172279 +32
=======================================
+ Hits 121405 121434 +29
- Misses 45743 45746 +3
Partials 5099 5099
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Fix done in #12688, test will be added later. |
Introduce the fix from #12635 now, will add test later as it requires one of two: - memtrie support for double resharding without restart - testloop support for restarting a node
In the case a shard is split again, we should use
ShardUId
prefix of grandparent.Add a testloop for this scenario. The test is ignored for now, since we currently do not support multiple reshardings without node restart.