-
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
Atree storage migration #4633
Merged
Merged
Atree storage migration #4633
Changes from all commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
b86fcd7
Atree migration initial commit
janezpodhostnik 6bc49d3
atree migration remove contract loading
janezpodhostnik bd80b6f
log missing keys correctly
janezpodhostnik abba33f
retrieve atree values before checking storage
janezpodhostnik 43a19e3
atree migration cleanup
janezpodhostnik a076dca
migrations, change account grouping
janezpodhostnik abe6623
bugfix and skipping known problematic accounts
janezpodhostnik 345568b
add specific account dump
janezpodhostnik f93f495
logging change
janezpodhostnik 088e02c
sorting change and storage used verification
janezpodhostnik 94e9477
storage used migration logs update
janezpodhostnik 2a63c65
storage used migration fix
janezpodhostnik b8aa210
add cadence value validation
janezpodhostnik e8fc9fe
fix storage used migration
janezpodhostnik ad5c730
fix
janezpodhostnik 4591aa9
fix setting storage on value removal
janezpodhostnik 574a0d6
handle account hashs error better
janezpodhostnik bd1c2cc
add output for a few accounts
janezpodhostnik 17d537d
migrate empty domain storage maps
janezpodhostnik 1db0a2c
add more metrics to migration
janezpodhostnik 3a6100f
Skip accounts from other migrations as weel
janezpodhostnik b0498c6
temporarily disable migration validation
janezpodhostnik 510b19c
atree migration test big account
janezpodhostnik 05e5241
add validation back
janezpodhostnik 3031e32
parallel verification test
janezpodhostnik 2c41508
hashing fix
janezpodhostnik 49def5a
collection decompose fix
janezpodhostnik cff2237
fix data validation concurency
janezpodhostnik b8e1852
move creating storage maps inside workers
janezpodhostnik 9447b44
validation fix
janezpodhostnik 08b55ad
fix missing interpreter
janezpodhostnik 4f9a04a
fix rebase
janezpodhostnik 2814581
add a lot of loging to migration validation
janezpodhostnik 7f7485e
more logging
janezpodhostnik 5c02a9c
fix migration concurency
janezpodhostnik fe9eed2
fix log progress
janezpodhostnik 159dab5
fix missing close channel
janezpodhostnik 792b603
allocate storage index fix
janezpodhostnik e80fca0
fix locking on allocate storage index
janezpodhostnik 3150c7f
fix interpreter use
janezpodhostnik b602cb3
fix interpreter use
janezpodhostnik 6131655
add better error reporting
janezpodhostnik 0049e7f
better errors
janezpodhostnik 1d318b7
even more errors
janezpodhostnik bfdfb0c
print stack on recover
janezpodhostnik 3a74a09
disable InvalidatedResourceValidationEnabled
janezpodhostnik 3bf2809
setKey -> insert
janezpodhostnik a61e0fa
change getKey to Get
janezpodhostnik 1cda365
SetKey -> insert
janezpodhostnik ca7798a
print value type
janezpodhostnik acaf533
unseafe dict insert
janezpodhostnik af90ea1
remove print
janezpodhostnik 0ec582d
skip saving cricketmomentshardedcollection
janezpodhostnik fa320ae
copy untouched cricket registers
janezpodhostnik ded242a
separate remove of cricket moments
janezpodhostnik 83acf67
add logging
janezpodhostnik ee4104c
commit child interpreters
janezpodhostnik efe96d6
iteration 1021 of trying to make migration faster and still correct
janezpodhostnik ab1b6c7
fix
janezpodhostnik 3848d24
fix 2
janezpodhostnik 126c5ec
unsafe remove and additional metrics
janezpodhostnik 79abcce
cadence optimisations
janezpodhostnik a6842de
change cadence
janezpodhostnik 41e3d78
redesign storage index retrieval
janezpodhostnik 4bea75b
Merge branch 'master' into janez/atree-migration
janezpodhostnik 6fe06d5
Merge fix
janezpodhostnik 12df741
switch back to just remove
janezpodhostnik 306fad8
separate remove
janezpodhostnik 458edc8
cleanup
janezpodhostnik 677ce09
logging
janezpodhostnik 132ab6d
change channel closing on error
janezpodhostnik ca10024
reduce error to log
janezpodhostnik 7357571
fix state key detection
janezpodhostnik 052054e
fix account migration
janezpodhostnik a21c1f2
deduplicate contract names
janezpodhostnik 866346a
new test, just cricket moments
janezpodhostnik 704f3d1
check it this fixes the data issue
janezpodhostnik 613febe
unsafe insert
janezpodhostnik 2c04d69
logging for hashing
janezpodhostnik 2f422d0
deterministic recursive string
janezpodhostnik 6dd5d5a
try without special casing cricketMoments
janezpodhostnik 146e212
removeremove skip for other accounts
janezpodhostnik 017c570
Merge branch 'master' into janez/atree-migration
janezpodhostnik cec5f30
merge fix
janezpodhostnik da62ec6
Merge branch 'janez/migration-infrastructure' into janez/atree-migration
janezpodhostnik 6059bed
Merge branch 'janez/deduplicate-contract-names' into janez/atree-migr…
janezpodhostnik 409b0b3
add close metthod to validation migration
janezpodhostnik 07f8723
remove one account usage migrator
janezpodhostnik 074e115
Validate migrated Cadence values using Equal()
fxamacker 706b5a5
Add flag for verbose validation error logging
fxamacker d56df32
Check composite field count during validation
fxamacker 00cdc35
Merge pull request #5204 from onflow/fxamacker/atree-migration-cadenc…
fxamacker 3374a26
review fixes
janezpodhostnik a5275dd
remove cricket moments references from atree migration
janezpodhostnik 8d74789
Merge pull request #5242 from onflow/janez/atree-migration-cleanup
janezpodhostnik d2d88f2
Increase log level for cadence data validation
janezpodhostnik 9746b7f
state payload is not found is an error
janezpodhostnik 759ba39
re-add the --no-migration flag
janezpodhostnik 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
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.
@zhangchiqing as discussed, re-adding this