Skip to content
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

DB Migration tooling #2835

Merged
31 commits merged into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1548393
Started adding tooling for updating the ledger db during a hard fork
batconjurer Feb 9, 2024
c11dfb3
fixing compile issues and clippy
batconjurer Feb 12, 2024
08ae8df
rebased
batconjurer Mar 4, 2024
383a7f3
[feat]: Added a new derive macro to register deserializers of types t…
batconjurer Mar 5, 2024
8988219
[feat]: Featured gated migrations code
batconjurer Mar 5, 2024
4e07860
[chore]: Added changelog
batconjurer Mar 5, 2024
a52e20b
[chore]: Formatting
batconjurer Mar 5, 2024
cac418d
Update crates/migrations/src/lib.rs
batconjurer Mar 6, 2024
8f6940e
Update crates/migrations/Cargo.toml
batconjurer Mar 6, 2024
0e1ee60
Addressing review comments
batconjurer Mar 6, 2024
e050059
Update crates/migrations/src/lib.rs
batconjurer Mar 7, 2024
1b14d6e
Update .changelog/unreleased/improvements/2814-global-deserializer-ma…
batconjurer Mar 7, 2024
7f787e0
rebase
batconjurer Mar 8, 2024
3875b39
[feat]: Added a pattern matching iterator to the db
batconjurer Mar 7, 2024
d72292d
[chore]: Added changelog
batconjurer Mar 7, 2024
1242c11
fmt
brentstone Mar 8, 2024
0c8b434
[feat]: Added a new derive macro to register deserializers of types t…
batconjurer Mar 5, 2024
f75a00d
[feat]: Featured gated migrations code
batconjurer Mar 5, 2024
cae053c
Addressing review comments
batconjurer Mar 6, 2024
07da03a
[feat]: Rebased on the serializers branch and added cli command to ap…
batconjurer Mar 5, 2024
93ce4e4
[feat]: Fixed and tested migration tooling.
batconjurer Mar 7, 2024
4eb0b72
[feat]: Rebased on the serializers branch and added cli command to ap…
batconjurer Mar 5, 2024
2adfe40
tinies
batconjurer Mar 7, 2024
466c018
[chore]: Added changelog
batconjurer Mar 7, 2024
5fc7c7f
[feat]: Added a pattern matching iterator to the db
batconjurer Mar 7, 2024
c5e6e5d
[feat]: Added pattern based db migration. Added e2e test and better e…
batconjurer Mar 7, 2024
b46b6f1
[feat]: Rebased on the serializers branch and added cli command to ap…
batconjurer Mar 5, 2024
b0974ce
tinies
batconjurer Mar 7, 2024
dff1128
[feat]: Added pattern based db migration. Added e2e test and better e…
batconjurer Mar 7, 2024
0f701a0
[fix]: Make migrations enabled by default
batconjurer Mar 8, 2024
c215db7
Finished rebasing
batconjurer Mar 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- This PR adds a proc macro that registers the deserializer of a type in a hashmap. This allows us to verify that
data blob deserializes correctly if we are in possession of the hash map key. ([\#2814](https://github.com/anoma/namada/pull/2814))
1 change: 1 addition & 0 deletions .changelog/unreleased/improvements/2835-db-migrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Adds tools to create json files to change db keys and various debugging and dry running logic. ([\#2835](https://github.com/anoma/namada/pull/2835))
1 change: 1 addition & 0 deletions .changelog/unreleased/improvements/2839-db-patter-iter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- When iterating over key prefixes, we can additionally filter out keys based on a regex. ([\#2839](https://github.com/anoma/namada/pull/2839))
Loading
Loading