-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
move to native badger blockstore; leverage zero-copy View() to deserialize in-place #4681
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
ce27b13
add a native badger blockstore with View() method.
raulk d2e2322
make the lotus node use the new native badger blockstore.
raulk 9437136
fixup.
raulk 099c4b5
migrate repo.Datastore(/chain) to repo.Blockstore().
raulk 95f512a
update/add dependencies.
raulk a16d7f2
Merge branch 'master' into badger-viewable
raulk d8d8537
fix lotus-shed datastore commands.
raulk 5a98660
make repo.Blockstore() idempotent; wrap in IDStore.
raulk 72e573d
fix lint.
raulk 0b8a21e
badger: restore prev. max table size (64MiB; default).
raulk 634467d
go mod tidy.
raulk c2355b1
write heap and allocs profile in lotus-bench.
raulk aece624
lotus-bench: add support for native badger blockstore.
raulk 35ccd73
lotus-bench: improve for observability.
raulk 44e34d9
lotus-bench: native badger SyncWrites=false.
raulk f4e13ff
actually register prometheus gauge.
raulk 7facdf6
support legacy keying: base32 multihashes *sigh*.
raulk d1ebf3c
introduce non-pooled StorageKey method.
raulk 842c8ca
improve lotus-bench; support running validation on a store without a …
raulk 581ac5b
lotus-bench: add ability to specify tipsets.
raulk 1841812
lotus-bench: make start tipset walkback start from end tipset.
raulk 8091113
Merge branch 'master' into badger-viewable
raulk 5487356
fix lint errors.
raulk 87ce2f7
lotus-bench: write separate profiles for import and validation.
raulk fd1439f
fix lint.
raulk 370ef93
chainstore: new ForceHeadSilent to support benchmarks.
raulk a411342
export more metrics.
raulk b1aa437
remove file that sneaked in.
raulk 8befc0c
export metrics from bench.
raulk de4a072
rename files.
raulk 85e37e4
make the value log loading mode mmap, to leverage zero-copy access.
raulk 7c442e1
godocs.
raulk 0b2a02c
remove redundant import.
raulk 3577300
Merge branch 'master' into badger-viewable
raulk 54bf7c9
add the viewable trait to our gazillion blockstores.
raulk 577476b
import Viewable non-terminal blockstores.
raulk 6d78de9
remove unused and misleading cachebs store.
raulk af7236f
migrate direct usages blockstore.{Get=>View}.
raulk 360194b
fix comment.
raulk f8c3756
(to be reverted) add debug.PrintStack.
raulk 38c404e
vm: construct CBOR store properly.
raulk 339391e
Revert "(to be reverted) add debug.PrintStack."
raulk 379dd02
upgrade dependencies.
raulk d79ff24
remove benchmark.
raulk 659ceaa
fix comment.
raulk 8f5847b
fix condition.
raulk bc6965c
skip callers in badger log for useful line info.
raulk 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.
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.
These two are only signaling charges, they have no consensus importantce so it is fine if they are inside the View.