Repository navigation
feat(cli): a command form for every statement and reply (chunkdb/chunkdb#151) - #62
Merged
Merged
Conversation
Audit CQL statements and wire replies against the current server and document the CLI forms. Decode catalog apply positions, inventory markers, schema histories and building index progress. Display the accepted greeting, accept binary session tags and NULL parameters, and check numbered chunk forms before sending them.
Require a complete catalog snapshot before saving a resume cursor after a resync or incomplete inventory. Document how to bootstrap catalog replication and resume from the receiver's saved position. Put RETURNING column values beside coordinates in a nested JSON object, show declined session options in the hello command, and bound binary PUBLISH payloads before sending a write. Match the server's lost-history scan replies in wire tests and verify unknown error keys separately.
Check the retained deletion floor as a JSON number in the integration test, matching the error formatter for revisions in the safe integer range. Add a checked statement coverage example that exercises coordinate-named RETURNING columns through the CLI.
6 of 7 tasks
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.
Part of chunkdb/chunkdb#151 (CLI statement and reply audit).
Map the current server's statements, options, replies and structured errors to their CLI entry points and decoders. Document operator commands that use quoted CQL.
Print and validate saved catalog positions, catalog inventory markers, binary schema histories and building index progress. The hello command shows the accepted greeting, default tags can come from binary files, NULL has its own parameter option, and chunk imports validate whichever numbered parameter carries the form.
Wire tests cover valid and malformed catalog positions, group refusal, schema histories and inventory markers, building index progress, HELLO metadata and binary tags, NULL and empty parameter frames, numbered chunk imports, lost-history floors, aggregate extensions and typed replication defaults.
APPLY GROUP remains unavailable on the current server. APPLY and APPLY CATALOG take complete RESP3 push files.