Repository navigation
fix(embed): retry transient Iceberg account creation - #26207
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep review complete; no blocking issues found.
Key checks:
- The linked connection-reset failure is classified by morpc.IsConnectionError, while non-connection SQL errors still fail immediately.
- CREATE ACCOUNT IF NOT EXISTS makes retry safe when the first attempt commits but its response is lost.
- The 10s context bounds both ExecContext and the 100ms backoff; timer/cancellation paths do not leak or wait indefinitely.
- Moving only the allocation-count assertion behind !race preserves functional JSON-overlaps coverage under race.
- The exact head merges cleanly with current main; GitHub CI is green.
Local verification on 05b2cbf:
- embed retry helper: -race -count=10
- JSON allocation regression: -count=3
- JSON overlaps functional tests: -race
- go vet ./pkg/embed ./pkg/sql/plan/function
Merge Queue Status
This pull request spent 3 hours 12 seconds in the queue, with no time running CI. Waiting for any of
All conditions
ReasonPull request #26207 has been dequeued Pull request from fork cannot be queued. This pull request comes from a fork, and Mergify needs the author's permission to update its branch.
Failing checks: HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Tick the box to put this pull request back in the merge queue (same as
|
) ## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26107 ## What this PR does / why we need it: fix(embed): retry transient Iceberg account creation --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
) ## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26107 ## What this PR does / why we need it: fix(embed): retry transient Iceberg account creation --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
) ## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26107 ## What this PR does / why we need it: fix(embed): retry transient Iceberg account creation --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
What type of PR is this?
Which issue(s) this PR fixes:
issue #26107
What this PR does / why we need it:
fix(embed): retry transient Iceberg account creation