-
Notifications
You must be signed in to change notification settings - Fork 13
feat(internal, cmd): protocol-migrate current-state
#553
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
Open
aristidesstaffieri
wants to merge
49
commits into
feature/data-migrations
Choose a base branch
from
feature/protocol-migrate-current-state
base: feature/data-migrations
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
741ba6d
removes the enabled flag on the protocols table, adds a new migration…
aristidesstaffieri 2b3dd2a
updates diagram for checkpoint population flow to better reflect the …
aristidesstaffieri 904fbc1
updates live ingestion classification diagram to better reflect the d…
aristidesstaffieri 6452345
removes incorrect details about live ingestions relationship to proto…
aristidesstaffieri 648e9d3
Updates the migration design to be aware of the history retention win…
aristidesstaffieri 29d1aee
updates live ingestion state production diagram to better reflect the…
aristidesstaffieri 43ee022
removes migration status checks from current state queries, exposes m…
aristidesstaffieri c7d35ce
Extract checkpoint population into dedicated services, add known_wasm…
aristidesstaffieri 6fd6fc5
renames known_wasms to protocol_wasms
aristidesstaffieri f5d6cb0
Add unit tests for tokenProcessor.ProcessContractCode
aristidesstaffieri 905b425
services/wasm_ingestion: remove ProtocolValidator execution from Wasm…
Copilot eb533a4
Simplify ProcessContractCode to pass only WASM hashes, refactor Token…
aristidesstaffieri 3b3d83a
Add protocol_contracts table and populate during checkpoint
aristidesstaffieri b2d2b61
Populate protocol_wasms and protocol_contracts during live ingestion …
aristidesstaffieri 27a95ce
Fix FK violation when persisting protocol contracts with evicted WASMs
aristidesstaffieri e005c50
renames known_wasms to protocol_wasms for missing references in desig…
aristidesstaffieri 1a504f5
Change protocol_wasms and protocol_contracts columns from TEXT to BYTEA
aristidesstaffieri 499b106
Remove redundant protocol_id column from protocol_contracts table
aristidesstaffieri 4edfbae
Use HashBytea type for protocol wasm/contract bytea fields
aristidesstaffieri 0e38de7
replaces remaining known_wasms references in diagrams with protocol_w…
aristidesstaffieri 00ba7de
Rename ProtocolContract to ProtocolContracts to match table name conv…
aristidesstaffieri 5d82367
runs fmt and tidy to abide by lint rules
aristidesstaffieri 5ef546c
Consolidate WasmIngestionService and checkpoint token logic into Chec…
aristidesstaffieri aa7fc0f
Fix checkpoint test mock expectations for consolidated CheckpointService
aristidesstaffieri 3b91e05
Extract checkpoint population into dedicated services, add known_wasm…
aristidesstaffieri 78d7ae1
Remove dead known_wasms model, tests, and migration
aristidesstaffieri 31ca62f
Rename Protocol and ProtocolWasm models to plural form matching table…
aristidesstaffieri c2aa73e
Add live protocol state production pipeline with dual CAS gating
aristidesstaffieri e131c27
test: consolidate data migration integration coverage
aristidesstaffieri f09fff4
Remove non-transactional reads from PersistLedgerData transaction
aristidesstaffieri 656449c
Fix TOCTOU gap, missing metrics, and lock-during-IO in live ingestion
aristidesstaffieri cdf7709
Fix query storm from partial protocol contract cache refresh failure
aristidesstaffieri 08716a9
Add protocol history migration service and asymmetric CAS integration…
aristidesstaffieri df962a2
Extract shared helpers between history migration and live ingestion
aristidesstaffieri f3717d4
Fix hardcoded cursor names in protocol history migration
aristidesstaffieri e1f7350
tweaks style and formatting to abide by the linter
aristidesstaffieri c47776e
Extract generic utilities from ingest helpers and eliminate helper file
aristidesstaffieri 90c6dfd
Extract checkpoint population into dedicated services, add known_wasm…
aristidesstaffieri 0718c70
Add live protocol state production pipeline with dual CAS gating
aristidesstaffieri baab1ad
test: consolidate data migration integration coverage
aristidesstaffieri 09d81b6
Fix query storm from partial protocol contract cache refresh failure
aristidesstaffieri aa71d5d
Add protocol-migrate current-state command and extract shared migrati…
aristidesstaffieri 4d5f3e3
Validate RetryWithBackoff inputs to prevent wrapped-nil errors and bu…
aristidesstaffieri afc2286
Batch cursor reads in protocolProcessorsEligibleForProduction
aristidesstaffieri c195db3
Add BatchGetByProtocolIDs to ProtocolContractsModelInterface
aristidesstaffieri 988ed8a
Remove stale known_wasms and wasm_ingestion files re-introduced by re…
aristidesstaffieri aec5901
removes extra blank line
aristidesstaffieri 1e3482d
merge stale block together to remove redundancy
aristidesstaffieri 96841cc
Hard-code latest ledger cursor name; deprecate configuration flag
aristidesstaffieri 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 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.
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.
Uh oh!
There was an error while loading. Please reload this page.