-
Notifications
You must be signed in to change notification settings - Fork 289
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
Write the dag relationship in batch #4304
Closed
Closed
Changes from 12 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
5bb965e
add batch write
jackzhhuang 1b9985c
add cache and db test case
jackzhhuang 595c9a1
add batch write parent and children in dag
jackzhhuang 79a421a
add push the new child in parent's vec
jackzhhuang de84d7b
fix fmt
jackzhhuang 262ba00
1, fix encode bug
jackzhhuang 29e4454
1, flush cache if batch writing done
jackzhhuang e4f72af
no use sync writing
jackzhhuang a4b0e54
add async code
jackzhhuang aa0d4e1
add missing file
jackzhhuang 1c2cc70
use blues if the verify discover the blues are not the same between t…
jackzhhuang baf1e9e
fix some code from the coderabbit
jackzhhuang 0d3077a
add time out and exit
jackzhhuang 36ff46d
add test log
jackzhhuang d6dcf30
fix: use correct blue and red blocks
jackzhhuang 39593df
fix fmt
jackzhhuang 61bd695
remove jacktest
jackzhhuang 188fd4a
1,fix fmt
jackzhhuang 8f01900
no verification just execute
jackzhhuang 81dbbf5
add ghost if pruning occurs
jackzhhuang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🛠️ Refactor suggestion
Optimize HashMap initialization and error handling
A few suggestions for improvement:
Consider this improved implementation:
📝 Committable suggestion