Repository navigation
feat: implement LIP-0000 Catalog foundation MVP - #3
Closed
mattisonchao wants to merge 12 commits into
Closed
mattisonchao wants to merge 12 commits into
mattisonchao wants to merge 12 commits into
Conversation
mattisonchao
marked this pull request as ready for review
October 2, 2026 00:02
Member
Author
|
Superseded: this is the old LIP-0000 foundation MVP (SQL parser/planner under catalog/src/sql/). main already ships the LIP-0001 database-management implementation (command/state/query + DataFusion), so merging this would revert main and conflict. Closing instead of merging. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
Implement the Catalog side of approved LIP-0000 in one MVP PR. The foundation needs explicit initialization, two independently registered stateless processes, and shared configuration/observability before adding database-management behavior.
Modifications
Testing
HEADrejection, invalid query bounds and closed-client probe responses. The Linux Rust CI job passed for the deployed code revision.mattison/lyra-catalog:362cf90to the retainedkind-lyracluster as two ready active-active replicas, with the separate toolbox and three-member Oxia cluster. Direct SQL to each replica and service SQL passed; existing database IDs/names were preserved. Database DDL is rejected explicitly. One service attempt immediately after rollout timed out; subsequent checks confirmed two ready endpoints and passed. The transient's precise cause was not isolated.AGENTS.md -> CLAUDE.md. Temporary fault policies, Jobs and test namespaces were removed.Review notes
362cf90includes Meta98b426cand the connection-cycle fix. Two hundred short SQL sessions completed around a hot Console enable, followed by another hundred with an attached Console client and concurrent two-second symbolized CPU capture; both pods stayed ready with zero restarts. Normal Console-disabled settings are restored.38889bbpassed 200 short SQL sessions with Console disabled (~80 MB RSS) and 500 with Console enabled (RSS plateaued around 509 MB after retention elapsed, no restarts). These are spot checks, not a throughput/tail-latency benchmark; retained Console history consumes additional memory. Images are built/loaded locally, not published to Docker Hub. Latest CI is visible in Checks.kubectl --context kind-lyra -n lyra exec -it deployment/lyra-toolbox -c toolbox -- psql.