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

feat(mempool): mempool migration protocol #418

Open
1 of 3 tasks
Tracked by #419
Trantorian1 opened this issue Dec 11, 2024 · 0 comments
Open
1 of 3 tasks
Tracked by #419

feat(mempool): mempool migration protocol #418

Trantorian1 opened this issue Dec 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request exploration sequencer The label for sequencing related issues

Comments

@Trantorian1
Copy link
Collaborator

Is there an existing issue?

  • I have searched the existing issues

Motivation

Currently, there is no way for a node to migrate its mempool to a new node as part of a database migration. This is an issue for #393 since there is no way for the warp update sender to communicate transactions in the mempool with the warp update receiver, so any transactions there will be invariably dropped once the migration has completed.

Request

Solution

A good place for this would be a new admin rpc endpoint. The issue of ownership of transactions is tricky though: we would have to shutdown the rpc on node A, enable it on node B, start synchronizing all transactions still in the mempool of node A at the time, execute them while receiving further transactions on node B, and then execute these new transactions once all the txs from node A have been processed.

Are you willing to help with this request?

Yes!

@Trantorian1 Trantorian1 added enhancement New feature or request sequencer The label for sequencing related issues labels Dec 11, 2024
@Trantorian1 Trantorian1 self-assigned this Dec 11, 2024
@Trantorian1 Trantorian1 moved this to Ready in Madara Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request exploration sequencer The label for sequencing related issues
Projects
Status: Ready
Development

No branches or pull requests

1 participant