-
Notifications
You must be signed in to change notification settings - Fork 0
chore: #1780 PROMOTE FORK: fork to new primary via the restore/PITR path #1920
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
Merged
filipeforattini
merged 20 commits into
main
from
afk/wSZK6/1780-promote-fork-fork-to-new-primary-via-the
Jul 8, 2026
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
bb54f81
feat(fork): promote operational fork roots
filipeforattini 552ab34
feat(rql): add promote fork query
filipeforattini e09073b
feat(rql): parse promote fork
filipeforattini 9122a85
chore(rql): carry promote fork through builders
filipeforattini 7138732
chore(rql): cost promote fork commands
filipeforattini 0abb978
chore(rql): pass through promote fork
filipeforattini 9b42339
feat(rql): detect promote fork as sql
filipeforattini a0d10d6
feat(rql): route promote fork frontend
filipeforattini ccb2102
feat(runtime): import promote fork query
filipeforattini a7bb790
feat(runtime): dispatch promote fork
filipeforattini 82feaeb
feat(runtime): execute promote fork
filipeforattini 97e2220
feat(runtime): classify promote as ddl
filipeforattini 55785eb
chore(query): name promote fork command
filipeforattini 548a92b
chore(query): cost promote fork command
filipeforattini 3cbf038
chore(query): plan promote fork command
filipeforattini fcff34e
chore(query): classify promote fork helpers
filipeforattini d45674f
chore(query): pass promote fork through unified executor
filipeforattini 8dd5901
test(runtime): cover promote fork sql
filipeforattini af3e3e6
merge: main into 1780 promote-fork (finisher)
filipeforattini 0918d00
refactor(#1780): extract fork lifecycle into operational_manifest/for…
filipeforattini 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
Large diffs are not rendered by default.
Oops, something went wrong.
441 changes: 30 additions & 411 deletions
441
...es/reddb-file/src/operational_manifest.rs → ...eddb-file/src/operational_manifest/mod.rs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
🩺 Stability & Availability | 🟠 Major | 🏗️ Heavy lift
🧩 Analysis chain
🏁 Script executed:
Repository: reddb-io/reddb
Length of output: 12165
🏁 Script executed:
Repository: reddb-io/reddb
Length of output: 50371
🏁 Script executed:
Repository: reddb-io/reddb
Length of output: 39478
🏁 Script executed:
Repository: reddb-io/reddb
Length of output: 34563
PROMOTE FORKneeds a reopen step or an explicit restart-only contract. This path only swaps directories on disk; the currentRedDBinstance keeps its open handles and caches, so it can keep serving the pre-promotion store until the process is recreated.🤖 Prompt for AI Agents