Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 28e1e3fb14
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
d7fb7db to
1a79b69
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1a79b69799
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| } else { | ||
| warn!( | ||
| "gc_dropped_branch_by_id: branch history cleanup txn not committed, table_id={}, branch_name={}, branch_id={}", | ||
| req.table_id, req.branch_name, req.branch_id | ||
| ); |
There was a problem hiding this comment.
Retry failed branch-history cleanup instead of returning success
When the history-update transaction is not committed, this path only logs and still returns Ok, even though branch metadata was already removed earlier in the function. Under concurrent branch recreation (history seq changes), that leaves stale branch IDs in __fd_branch_id_list; and because list_history_table_branches skips entries whose TableMeta is already gone, later vacuum passes may never revisit that ID to clean it up. This can leave permanent metadata drift and unbounded history-key growth for active tables.
Useful? React with 👍 / 👎.
88c3471 to
e6d9624
Compare
🤖 CI Job Analysis
📊 Summary
❌ NO RETRY NEEDEDAll failures appear to be code/test issues requiring manual fixes. 🔍 Job Details
🤖 AboutAutomated analysis using job annotations to distinguish infrastructure issues (auto-retried) from code/test issues (manual fixes needed). |
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
Tests
Type of change
This change is