-
Notifications
You must be signed in to change notification settings - Fork 179
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
[Access] Add support for pebbleDB to execution data tracker/pruner #6277
Open
UlyanaAndrukhiv
wants to merge
51
commits into
onflow:master
Choose a base branch
from
The-K-R-O-K:UlyanaAndrukhiv/6017-pebble-for-tracker-updates
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 35 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
0b6499a
Refactored structure of execution data tracker
UlyanaAndrukhiv 5893168
Refactored badger version of execution data tracker
UlyanaAndrukhiv 6f24602
Added pebble operations for execution data tracker, added basic pebbl…
UlyanaAndrukhiv cb61531
Added functional test for pebble execution data tracker impl, updated…
UlyanaAndrukhiv e2630cd
Updated AN and ON builders
UlyanaAndrukhiv fd14160
Added comments
UlyanaAndrukhiv d42f1e6
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 4d675d7
Moved interface from tracker to storage
UlyanaAndrukhiv 97897ad
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 0f3dd84
Updated pebble execution data tracker
UlyanaAndrukhiv 437d0a7
Added comment for ffBytes, fixed check
UlyanaAndrukhiv 5f7a25e
Merge branch 'UlyanaAndrukhiv/6017-pebble-as-execution-datastore-db' …
UlyanaAndrukhiv d9218c9
Added integration test for pebble version of execution data pruning, …
UlyanaAndrukhiv 83fc78a
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 63573d6
Updated integration test
UlyanaAndrukhiv 6f266d8
Merge branch 'UlyanaAndrukhiv/6017-pebble-for-tracker-updates' of git…
UlyanaAndrukhiv 383e8eb
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv edadc78
Updated naming
UlyanaAndrukhiv 04d6e20
Merge branch 'UlyanaAndrukhiv/6017-pebble-for-tracker-updates' of git…
UlyanaAndrukhiv 68a0223
Generated mocks
UlyanaAndrukhiv ff6b215
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv a77db84
Updated naming for operations on storages
UlyanaAndrukhiv 9a2e3be
Added documentation
UlyanaAndrukhiv 4132ead
Updated order of arguments in NewExecutionDataTracker
UlyanaAndrukhiv d6e7a25
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 10bcd53
Renamed to NoopExecutionDataTracker
UlyanaAndrukhiv 72fcbb5
Renamed to NewMockExecutionDataTracker
UlyanaAndrukhiv c51c837
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 2b609d4
Added constant value for discardRatio, changed it according to comment
UlyanaAndrukhiv 9788c58
Updated execution data db prefixes to use fixed values, updated comment
UlyanaAndrukhiv 481242b
Updated heights initialization for badger db
UlyanaAndrukhiv ca68741
Removed unnecessary option for pebble Set operation
UlyanaAndrukhiv 3022980
Updated badger operations, removed no needed check in common retrieve…
UlyanaAndrukhiv abd546b
Updated pebble operations, removed no needed check in common retrieve…
UlyanaAndrukhiv d6f8b9a
Updated badger version of batchDelete
UlyanaAndrukhiv 34e04ee
Updated pebble version of execution data tracker by using batch accor…
UlyanaAndrukhiv 3b8509d
Fixed godoc, updated logger values
UlyanaAndrukhiv 6cb0105
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv b8181ab
Updated trackBlob according to comment
UlyanaAndrukhiv 640de21
Separated read operation from write batch operations
UlyanaAndrukhiv 65e1614
Moved common logic for maximum number of items in a single batch for …
UlyanaAndrukhiv feb984d
Updated naming
UlyanaAndrukhiv b12dc9b
Moved common logic for tracker initialization
UlyanaAndrukhiv 95ac8ae
Added functional tests for common pebble operations
UlyanaAndrukhiv cb2924a
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 59837c9
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 43ce701
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 0e39976
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 93aa09f
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv fba4e0b
Merged with master
UlyanaAndrukhiv 3362d0b
Merge branch 'master' into UlyanaAndrukhiv/6017-pebble-for-tracker-up…
UlyanaAndrukhiv 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
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.
Can we implement a
CheckExistingExecutionDataDBMode(executionDataDBMode, trackerDir)
function or something similar to check if the folder has consistent data with the DB mode?This could prevent from accidentally using existing badger db data as pebble, which might corrupt the database.