-
Notifications
You must be signed in to change notification settings - Fork 678
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow loading of memtrie during catchup, for shards pending resh…
…arding (#12679) This PR contains a small code change to fix a failure in the tests `test_resharding_v3_load_mem_trie_`. In the test a client that doesn't track the parent shard is assigned to track one of the children in the next epoch after resharding. However, in order to track the children shard, the client must state sync the state of the parent and perform the shard split. This fix allows the catchup routine to build the memtrie even with `load_mem_tries_for_tracked_shards=false`, only if the shard is "pending resharding in the future". The first two commits are updates of code comments.
- Loading branch information
Showing
4 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters