Repository navigation
fix(mongodb): count strict conversion errors - #28470
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.
Reviewed exact head 3f38aef against base f0c31cd, including all three changed files and the Converter/MongoScan failure path. No blocking finding.
Moving the Prometheus increment into the common errConversion branch counts the previously missed strict failures once, while preserving try_null statement-local limits/counters and its NULL substitution behavior. The broadened help text matches the attempt-level conversion-failure metric. Non-conversion allocation/budget/BSON-validation failures remain outside this counter, and the deferred partial-row rollback is unchanged. The additional operation is confined to an error path; it introduces no new retained resources, waits, labels, or shared unsynchronized state. The focused test checks a valid strict input, a strict failure, try_null behavior and batch/mpool cleanup; its counter-delta assertions are in a non-parallel test.
Evidence reused: exact-head MatrixOne ALL CI run 34307488060 completed successfully, including Ubuntu UT, Linux arm64 SCA, shared build, coverage and both selected multi-CN BVT jobs. Skipped jobs were not treated as executed evidence. No independent full SQL/UT run was performed.
Merge Queue Status
This pull request spent 56 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonPull request #28470 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.
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#28341 ## What this PR does / why we need it: fix(mongodb): count strict conversion errors 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#28341 ## What this PR does / why we need it: fix(mongodb): count strict conversion errors 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#28341 ## What this PR does / why we need it: fix(mongodb): count strict conversion errors 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 #28341
What this PR does / why we need it:
fix(mongodb): count strict conversion errors