[#11851] docs: Add optimizer service design#11852
Open
roryqi wants to merge 5 commits into
Open
Conversation
Add task state transition diagram, FAILED error payload schema, service-side configuration keys, and align Rollout Plan phase names with the Task Breakdown. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
9bd5658 to
753e6a4
Compare
Rework the async REST API to mirror the Gravitino job run APIs: response envelope with `code`, job-style status vocabulary (queued/started/ succeeded/failed/cancelling/canceled), `audit` records, ErrorModel-shaped errors, cancel via POST to the task resource, and the versioned media type. Convert Solution Investigations to sub-section format and align all Markdown table columns. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Rename lingering "task state" references to "task status" in the rollout and task-breakdown phases so the whole doc uses one vocabulary. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
f2d7d9e to
45693f0
Compare
45693f0 to
4bc155a
Compare
Code Coverage Report
|
Contributor
Author
|
@jerryshao @lasdf1234 @bharos @puchengy Could u take a look at this design document? |
Collaborator
No problem. |
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.
What changes were proposed in this pull request?
Add a design document for introducing an Optimizer Service for Apache Gravitino.
The design covers:
Why are the changes needed?
The current Table Maintenance Service (Optimizer) is primarily driven by local CLI execution. A design document is needed to describe how to evolve it into a long-running service with asynchronous task execution, queryable status, and CLI compatibility.
Fix: #11851
Does this PR introduce any user-facing change?
No. This PR only adds a design document.
How was this patch tested?
git diff --checkgit diff --cached --checkgravitino-design-docstructure.