-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(cat-gateway): Purge volatile data after immutable roll forward #1188
base: main
Are you sure you want to change the base?
Conversation
✅ Test Report | |
✅ Test Report | |
f5e7329
to
a8bbb04
Compare
✅ Test Report | |
a8bbb04
to
be5e37c
Compare
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
|
||
/// All prepared DELETE query statements (purge DB table rows). | ||
#[derive(strum_macros::Display)] | ||
#[allow(dead_code)] |
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.
Is it needed here ?
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.
It's temporary, I'm incorporating functionality, so this is WIP.
|
||
/// All prepared SELECT query statements (primary keys from table). | ||
#[derive(strum_macros::Display)] | ||
#[allow(dead_code)] |
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.
same
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.
Same
447e1db
to
85b532f
Compare
✅ Test Report | |
85b532f
to
6e2ae43
Compare
✅ Test Report | |
6e2ae43
to
6564784
Compare
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.
LGTM
6564784
to
86b837d
Compare
e238a68
to
c0056ff
Compare
c0056ff
to
84afb16
Compare
10a1a00
to
7b170e0
Compare
…ata-after-roll-forward
…ata-after-roll-forward
…ata-after-roll-forward
…ata-after-roll-forward
✅ Test Report | |
}; | ||
|
||
/// Purge Data from Live Index | ||
#[allow(unused_variables)] |
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.
seems its already redundant
#[allow(unused_variables)] |
} | ||
|
||
/// Purge data from `txi_by_hash`. | ||
#[allow(clippy::unused_async)] |
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.
#[allow(clippy::unused_async)] |
} | ||
|
||
/// Purge data from `unstaked_txo_ada`. | ||
#[allow(clippy::unused_async)] |
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.
#[allow(clippy::unused_async)] |
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.
Despite small comments LGTM
dont merge this yet |
Just converted to draft to prevent it merging pre-maturely. |
✅ Test Report | |
e45b4d7
to
3e0043b
Compare
…ata-after-roll-forward
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
Description
Adds queries and logic for purgin volatile DB data.
Related Issue(s)
Closes #944
Description of Changes
Provide a clear and concise description of what the pull request changes.
Breaking Changes
Describe any breaking changes and the impact.
Screenshots
If applicable, add screenshots to help explain your changes.
Related Pull Requests
If applicable, list any related pull requests.
Please confirm the following checks