ingest: retry failed regions when batch scatter regions#61722
ingest: retry failed regions when batch scatter regions#61722ti-chi-bot[bot] merged 3 commits intopingcap:masterfrom
Conversation
|
Hi @GMHDBJD. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #61722 +/- ##
================================================
+ Coverage 73.1149% 75.8085% +2.6935%
================================================
Files 1730 1782 +52
Lines 481167 500011 +18844
================================================
+ Hits 351805 379051 +27246
+ Misses 107842 97946 -9896
- Partials 21520 23014 +1494
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
/retest |
|
@GMHDBJD: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
[LGTM Timeline notifier]Timeline:
|
| failedRegions = append(failedRegions, region) | ||
| } | ||
| } | ||
| newRegions = failedRegions |
There was a problem hiding this comment.
I’m concerned that the failure-handling logic here may not be robust. If a region is mistakenly judged as needing to be scattered and the operation fails, it appears that this region won’t be retried later.
Consider this scenario: a small number of regions fail to add scatter operators, while others succeed. However, due to the asynchronous nature of operator execution, even regions that successfully had operators added might still time out or encounter other issues afterward. Does this scenario align with the intended design?
|
/retest |
* origin/master: (129 commits) domain: Fix the issue that the min start ts doesn't correctly block keyspace-level GC (pingcap#61925) br: better control pd scheduler pause during log restore with filter (pingcap#61819) session: rename circuit breaker sysvar (pingcap#61951) dxfservice: create store for SYSTEM keyspace (pingcap#61752) docs: fix a dead link in CONTRIBUTORS.md (pingcap#61923) metrics/nextgengrafana: display keyspace separately (pingcap#61823) lightning: fix length check may be skipped for first line (pingcap#61874) planner: support `explain [analyze] <plan_digest>` for `explain explore` (pingcap#61942) planner: record explored plans into `tidb_statement_stats` when running `explain explore` (pingcap#61850) fix(runaway): ensure DistSQLContext's checker is synchronized with session variables (pingcap#61907) expression,planner: reuse the propOuterJoinConstSolver to improve performance (pingcap#61913) ddl,planner: remove unused and meaningless code (pingcap#61936) planner: remove unused field from physicalTableScan. (pingcap#61935) workload-learning: Extract metrics from cluster statements stats (pingcap#61378) executor: minor cleanup in builder.go (pingcap#61924) session: rename GetDomainInfoSchema to GetLatestInfoSchema (pingcap#61894) ingest: retry failed regions when batch scatter regions (pingcap#61722) planner: add tpch q1,q2,q3 benchmark (pingcap#61898) planner: fix uninit timeout for loading bindings (pingcap#61891) executor: report error when admin check on multiple tables (pingcap#61828) ...
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
In response to a cherrypick label: new pull request created to branch |
|
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
…cap#61722) (pingcap#62288)" This reverts commit b5c7e2f.
What problem does this PR solve?
Issue Number: close #60077
Problem Summary:
What changed and how does it work?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.