You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "SEZ9 (via GitHub)" <gi...@apache.org> on 2026/09/23 06:54:24 UTC

[PR] [Fix][E2E] Stabilize shared engine and connector CI regressions [seatunnel]

SEZ9 opened a new pull request, #12454:
URL: https://github.com/apache/seatunnel/pull/12454

   ### Purpose of this pull request
   
   Fix shared engine and connector regressions exercised by CI. These changes were previously included in #12298 and #12299 and are extracted here so that the two REST feature PRs remain focused.
   
   - Complete engine task cancellation when a worker leaves or startup/recovery fails, including late terminal-state completion. Regression tests cover lost members, startup failure, and state cleanup.
   - Preserve PostgreSQL CDC rows at a restored transaction boundary, where a commit and the next row can share an LSN. Backport the relevant WAL-position handling against the existing Debezium version, with offset and savepoint-recovery coverage.
   - Stabilize existing backpressure, checkpoint-failover, split-cluster, FilterRowKind, and PayPal fixtures. Retain the previously introduced runtime allowances for the transform and JDBC integration jobs.
   
   This includes production fixes exposed by CI, test fixtures, paired English/Chinese documentation, and two existing workflow timeout adjustments. It does not add a dependency-version upgrade. The CDC schema-disabled behavior fix is already on `dev` and is excluded.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Jobs can finish cancellation after worker loss and return failure after exhausting startup/recovery retries. PostgreSQL CDC recovery preserves rows at transaction boundaries; older savepoints remain readable and ambiguous boundaries may replay a row to avoid data loss. These behaviors are documented in English and Chinese.
   
   ### How was this patch tested?
   
   Locally on OpenJDK 11, on commit `a15bdf90c269`:
   
   - `./mvnw spotless:apply` — passed; working tree clean.
   - `./mvnw -q -DskipTests verify` — passed for the full reactor.
   - Engine regression classes: `CoordinatorServiceLostMemberResolutionTest`, `TaskExecutionServiceTest`, and `StateTransitionCleanupTest` — 32 cases passed.
   - Connector regression classes: `LsnOffsetTest` and `PayPalClientTest` — 32 cases passed. The initial combined reactor hit a JUnit launcher startup error at PostgreSQL; rerunning the connector modules separately completed successfully. No test assertions failed or were skipped.
   
   The full build used an existing local dependency cache after an initial download-bound attempt was stopped. The selected regression classes executed all 64 cases, including parameterized/repeated cases.
   
   ```bash
   ./mvnw -Pci -pl :seatunnel-engine-server -am \
     -DskipUT=false -DskipIT=true \
     '-Dtest=CoordinatorServiceLostMemberResolutionTest,TaskExecutionServiceTest,StateTransitionCleanupTest' \
     -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false \
     -Dskip.ui=true -Dlicense.skipAddThirdParty=true verify
   
   ./mvnw -Pci -pl :connector-cdc-postgres,:connector-http-paypal -am \
     -DskipUT=false -DskipIT=true '-Dtest=LsnOffsetTest,PayPalClientTest' \
     -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false \
     -Dskip.ui=true -Dlicense.skipAddThirdParty=true verify
   ```
   
   The extracted changes were also checked structurally: combining this branch with either cleaned REST feature branch produces exactly the same source tree as merging that original PR head with the current `dev` base.
   
   ### Check list
   
   - [x] No new dependencies or binary packages.
   - [x] English and Chinese behavior documentation updated.
   - [x] Existing test assertions retained; no new test exclusions.
   - [x] Regression coverage included for engine cancellation/startup and PostgreSQL recovery.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "xinnyuli (via GitHub)" <gi...@apache.org>.
xinnyuli commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5992875920

   Ran the PR's own extended IT on ba304980c71f with the same setup as before (PostgresCDCIT#testPostgresCdcSnapshotOnlyAndCommittedOffsetStartupModes, Java 11, stress-ng on, no agent, Debezium resume logging on). Run: https://github.com/xinnyuli/seatunnel-12382-repro/actions/runs/37292055597
   
   <html>
   <body>
   <!--StartFragment--><ul dir="ltr"><li>30/30 runs reached the id=15 check and passed (0 ROW_MISSING, 0 setup failures).</li>
   <li><strong>10/30 hit the ambiguous boundary</strong> (first LSN on restart == stored commit-end LSN). All 10 delivered the row: nothing was filtered as already processed, and the resume position equalled the stored LSN in every case.</li>
   </ul>
   <div dir="ltr">
   run | stored lsn_proc | first LSN on restart | skipped as processed | outcome
   -- | -- | -- | -- | --
   n1 | 0/2229658 | 0/2229658 | – | PASS
   n2 | 0/222A260 | 0/222A260 | – | PASS
   n3 | 0/222A9E0 | 0/222A9E0 | – | PASS
   n6 | 0/2228860 | 0/2228860 | – | PASS
   n15 | 0/2225710 | 0/2225710 | – | PASS
   n19 | 0/222D698 | 0/222D698 | – | PASS
   n20 | 0/2224D78 | 0/2224D78 | – | PASS
   n21 | 0/2229A90 | 0/2229A90 | – | PASS
   n24 | 0/22268E0 | 0/22268E0 | – | PASS
   n28 | 0/22270D0 | 0/22270D0 | – | PASS
   
   </div>
   <p dir="ltr">Since the test asserts id=15 and id=16 in the same block, PASS covers both. The WAL-range logging wasn't used here because the patch doesn't apply to the updated test (id=15 is now inserted while the job is stopped); boundary hits come from the Debezium resume logs instead.</p>
   <p dir="ltr">One caveat: this is the fixed code only. I didn't run this updated test against the PR base, so it doesn't by itself show the old code losing the row under the new test. The earlier before/after (3/30 vs 0/28 on the original test) covers that side.</p><!--EndFragment-->
   </body>
   </html>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5987793718

   ## Head updated to `ba304980c71f` — please re-review, the previous approval no longer applies
   
   This push changes the reviewed head, which I know is the opposite of the stability you asked for before merge. I am doing it anyway because it discharges a commitment I made on this thread on 2026-09-26, and the condition it was waiting on has now been met:
   
   > I agree that the smaller fixes should take precedence when they land. [...] once those fixes are in `dev`, I will rebase and remove the superseded checkpoint accessor/test and PayPal hunks, then rerun validation.
   
   **#12444 merged on 2026-09-28** (`426e44f96`). Leaving a now-redundant local fixture in a PR after its root-cause fix landed is exactly what I said I would not do, so I would rather pay for a re-review than merge it.
   
   ### What changed, and nothing else
   
   1. **Reverted the `PayPalClientTest#closeWakesRetryWait` fixture** to the upstream version. #12444 fixes the flake in the embedded server helper — it releases the arrival latch *before* the body write and again unconditionally in a `finally` block, so the latch is released whichever branch fails. My version only avoided the body write inside this one test by marking the 503 reply bodyless. @goutamadwant measured the two as equivalent (`dev` 5/50 on JDK 11, each fix 0/50; with a forced `IOException` on the body write, `dev` 20/20 and both fixes 0/20). With the root-cause fix in `dev` the local fixture no longer earns its keep and only narrows what the test exercises.
   2. **Rebased onto current `dev`** (`eb2eb1ddc`, 56 commits). No conflicts.
   
   Diff is now **18 files, +1224/-30** (was 19 files). `git diff upstream/dev HEAD -- connector-http-paypal/` is empty, i.e. the superseded hunk is gone and `dev`'s #12444 fix is what remains.
   
   ### Overlap status, re-checked against `dev` rather than from memory
   
   | PR | State | Effect here |
   |---|---|---|
   | #12449 | **MERGED** `146a1b5c5` | Already in this PR's previous base. The remaining `CheckpointCoordinatorFailoverIT` hunk is **not** a duplicate of it — it is two new lines asserting `cancelJob()` resolves to `CANCELED` through `waitForJobComplete()`, which is what exercises the `PhysicalVertex.cancel()` guard in this PR. Kept. |
   | #12444 | **MERGED** `426e44f96` | Hunk removed, as above. |
   | #12216 | **OPEN** | `TestFilterRowKindIT` assertion-writer `parallelism = 1` stays, with its existing source comment pointing at #12216. |
   | #12489 | **CLOSED** | Correcting my own earlier reference on this thread: I cited #12489 as the PR isolating the OceanBase duplicate-Debezium packaging fix. It is closed, so that `NotSerializableException: io.debezium.relational.TableId` failure is **not** currently tracked by an open PR. It remains out of scope here. |
   
   The `PayPalIT` e2e hunk (+4/-2) is unrelated to the flake — it adds a 503 OAuth retry leg and raises the expected OAuth call count from 2 to 3, i.e. new coverage for the bodyless-retry path. I left it as reviewed rather than widening this push.
   
   ### Answering the two open questions
   
   **Is this the final head?** `3080371ce733` is not; `ba304980c71f` is what I intend to be final. I have no further pushes planned, and I will not push again without saying so here first.
   
   **Did the full PostgreSQL suite pass on `3080371ce733`?** I can confirm less than that question asks for, so to be precise about what each piece of evidence covers:
   
   - Fork Build `36330123070` on head `3080371ce733` completed with conclusion **success** — I re-verified the head SHA on the run itself just now, not from my earlier comment.
   - The module-level **PostgreSQL 37 tests / 0 failures / 0 errors / 0 skips** figure I posted on 2026-09-27 was on head **`4f86cb0ac63e`**, not on `3080371ce733`. I did not independently confirm the per-module PostgreSQL numbers on `3080371ce733`, and I am not going to present the run-level `success` as if it were that.
   
   Since the head has moved, both are now superseded anyway. I will post the module-level PostgreSQL result from the CI run on `ba304980c71f` when it lands.
   
   ### Retracting one commitment I cannot keep
   
   On 2026-09-29 I said I would re-run @goutamadwant's stress setup against `3080371ce733` and post the numbers alongside the earlier ones. I should not have promised that: I do not have a JDK/Maven environment that can reproduce it, so any numbers I posted would not be mine. I am withdrawing that rather than leaving it hanging on the thread. The earlier stress numbers stand for the diffs they were run against, and the two fixes they compared (#12449, #12444) are now both merged into `dev`, which removes most of what those runs were deciding between.
   
   ### On the new PostgreSQL evidence
   
   @xinnyuli thanks — that is the clearest before/after on this PR's actual subject so far. **3/30 missing before, 0/28 after**, and more usefully the mechanism matches what the fix targets: in every missing run `id=15` starts exactly at the stored commit-end LSN and is filtered as already processed, and with this change the runs that hit the same boundary resume at the stored LSN and deliver the row. That is the transaction-boundary equality case `LsnOffsetTest` covers as a unit, observed end to end. The rebase did not touch any PostgreSQL file, so your evidence applies unchanged to `ba304980c71f`.
   
   CI is re-running on the new head.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5855932790

   @DanielLeens The Java 8 failover investigation from my preceding comment is addressed in new head `64c0222b6095ac63733b33b723ef788f8f5e19be`.
   
   `PhysicalVertex.cancel()` now reprocesses a terminal vertex only when `!taskFuture.isDone()`. This preserves completion of a late result after recovery while retaining the original no-op behavior for an already-completed result. It is a one-line change, folded into the original recovery commit; the PR still has two commits.
   
   The guarded implementation passed the ordinary master-failover case twice on OpenJDK 8/two active processors (approximately 25 and 28 seconds, 1 test/0 failures/errors/skips each), following the failing/current and passing/baseline comparisons already reported. The final current-head tree then passed:
   
   - Spotless and the full-reactor verification on OpenJDK 11.
   - All 45 engine unit tests, including the six late-terminal-result cases, plus 32 PostgreSQL/PayPal unit tests, with zero failures/errors/skips.
   - The three existing Java 8 integration cases together: ordinary master failover, failover during the close handshake, and checkpoint-trigger dispatch failure, with zero failures/errors/skips.
   
   [New complete Build 36319880506](https://github.com/SEZ9/seatunnel/actions/runs/36319880506) is running. Its results are being tracked separately from the old head, and I am not calling remote CI green. The PR description now includes this correction and validation. No CI workflow, timeout, exclusion, or dependency patch was added. Please take another look at the updated recovery guard when available.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5855089448

   @DanielLeens The final PostgreSQL module log is now available for current head `4f86cb0ac63e`: [job 108568931547](https://github.com/SEZ9/seatunnel/actions/runs/36299863061/job/108568931547) recorded **37 tests, 0 failures, 0 errors, 0 skips** at **2026-09-27 10:16:45 UTC**, then continued into Milvus. This includes the extended startup/savepoint/restore case that passed at 10:08:10 UTC, covering the row written while stopped and the live row written after restore.
   
   I have updated the PR description and the earlier reply with that complete PostgreSQL result. The full Build is still running; no source change was needed for this follow-up.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Stabilize task recovery and connector CI regressions [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5846337325

   Thanks both — this is a genuinely useful thread to have before merge, not after.
   
   @goutamadwant, the methodology is solid (same `dev` base, fresh JVM per run, `-XX:ActiveProcessorCount=2` on JDK 11 to reproduce the real flake conditions) and I don't have anything to add to your numbers. I did go back and diff each of the three hunks against #12449/#12444/#12216 myself before answering, though, and I land in a slightly different place on two of them:
   
   **Checkpoint accessor (`CheckpointCoordinatorFailoverIT`) — I'd keep this PR's version, not #12449's.** #12449 synchronizes the fault injection by reflecting into `CheckpointCoordinator`'s private `lock` and `pendingCounter` fields (`ReflectionUtils.getField(coordinator, "lock" / "pendingCounter")`). That's exactly the pattern my first review of this PR flagged as fragile (Issue 4) — and SEZ9 fixed it here by adding the small `@VisibleForTesting runWhenNoCheckpointPending(Runnable)` accessor, which I confirmed still holds the coordinator's real trigger lock and closes that issue cleanly. Dropping this PR's hunk in favor of #12449 would trade a proper accessor for raw reflection, which is a step backward on maintainability even though both are green today. If anything, I'd rather see #12449 adopt this PR's accessor than the reverse.
   
   **PayPal (`PayPalClientTest`) — real overlap, but I'd treat it like the FilterRowKind case rather than dropping it outright.** #12454's fix (a `bodyless` flag on one `Reply`) and #12444's fix (reordering the shared `serve()` helper's latch countdown, plus an unconditional `finally`) are different mechanisms for the same flake, not literal duplicates, and neither is merged yet. If #12454 lands first with the hunk removed, the flake comes back until #12444 also lands. I'd suggest keeping it, with a one-line comment pointing at #12444 as the more general fix — same treatment as the FilterRowKind stopgap.
   
   **FilterRowKind and the recovery/CDC-LSN core — agreed as proposed.** `parallelism = 1` as a stopgap with a comment pointing at #12216, and the `TaskExecutionService`/`PhysicalVertex` recovery fix plus the Postgres CDC LSN backport as the PR's real payload, description retitled to match. My APPROVED review already covers that core on its technical merits and doesn't need to be redone for it.
   
   On the last point, SEZ9 — I don't currently have a savepoint-restore repro on hand where a commit and the next transaction's first event share a WAL LSN, so I can't run that before/after comparison myself right now. Agreed it would close the last gap in the evidence; not a blocker on my end.
   
   So: no action needed on the checkpoint-accessor hunk, a small comment addition (not a removal) on the PayPal hunk once someone has a moment, and the description update whenever it's convenient. Happy to take a quick look once the comment/description touch-ups are in.
   === END REPLY ===


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5992783757

   ## Module-level results on `ba304980c71f`, as promised
   
   The Build run on this head has finished: [run 37260524575](https://github.com/SEZ9/seatunnel/actions/runs/37260524575) — **94 jobs, zero failures**. Below is the per-module figure for each piece this PR still carries, so each kept change has a result on *this* head rather than on a superseded one. Citations are the Java 11 logs; the Java 8 matrix passed as well (no job in the run concluded anything other than `success` or `skipped`).
   
   | What it covers | Test class | Result | Job |
   |---|---|---|---|
   | PostgreSQL CDC LSN boundary | `PostgresCDCIT` | **37 tests, 0 failures, 0 errors, 0 skips** (968.8 s) | [all-connectors-it-7 (11)](https://github.com/SEZ9/seatunnel/actions/runs/37260524575/job/111607191973), 04:59:22 UTC |
   | Recovery hang fix | `CheckpointCoordinatorFailoverIT` | 4 tests, 0 failures, 0 errors, 0 skips (94.3 s) | [engine-v2-it (11)](https://github.com/SEZ9/seatunnel/actions/runs/37260524575/job/111607192122), 05:55:19 UTC |
   | `parallelism = 1` hunk (#12216) | `TestFilterRowKindIT` | 14 tests, 0 failures, 0 errors, 0 skips (588.3 s) | [transform-v2-it-part-1 (11)](https://github.com/SEZ9/seatunnel/actions/runs/37260524575/job/111607192211), 06:10:49 UTC |
   | PayPal 503 OAuth e2e coverage | `PayPalIT` | 7 tests, 0 failures, 0 errors, 0 skips (168.7 s) | [all-connectors-it-6 (11)](https://github.com/SEZ9/seatunnel/actions/runs/37260524575/job/111607192133), 08:21:25 UTC |
   
   @DanielLeens this is the figure I said I would post rather than reuse — the 37/0/0/0 I quoted on 2026-09-27 was measured on `4f86cb0ac63e`, and the one above is measured on `ba304980c71f`. The number happens to be identical, which is the expected outcome given the rebase touched no PostgreSQL file, but it is now an independent measurement rather than a carried-over one.
   
   ### One thing in the run that looks like a gap and is not
   
   Eleven jobs in that run are `skipped`, including the whole `updated-modules-integration-test-part-1..8` family. That is the gating in `backend.yml`, not dropped coverage:
   
   ```yaml
   updated-modules-integration-test-part-1:
     if: needs.changes.outputs.api == 'false' && needs.changes.outputs.engine == 'false' && needs.changes.outputs.it-modules != '[]'
   ```
   
   ```yaml
   all-connectors-it-1:
     if: needs.changes.outputs.api == 'true' || needs.changes.outputs.engine == 'true'
   ```
   
   The two are mutually exclusive by construction. Because this PR touches the engine, the narrow changed-modules path is skipped and `all-connectors-it-1..7` runs the whole of `seatunnel-connector-v2-e2e` instead — a superset of what the skipped jobs would have covered. That is also why `PostgresCDCIT` and `PayPalIT` above come out of `all-connectors-it-*` rather than out of a per-connector job.
   
   ### Still outstanding from my side
   
   Nothing. `ba304980c71f` is the head I intend to be final, I have no further pushes planned, and I will not push again without saying so here first. The only open item is review of this head — the earlier approval of `3080371ce733` no longer applies after the cleanup push, as noted above.
   
   I am also not re-raising the stress numbers: I retracted that commitment above and the retraction stands.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Stabilize task recovery and connector CI regressions [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5842400071

   Thanks @goutamadwant, this is exactly the kind of data that makes the scoping call easy. Running each diff against `dev` at `deb16a3c3` in a fresh JVM with `-XX:ActiveProcessorCount=2` on JDK 11 is a fair reproduction of the flake conditions, and the numbers are clear:
   
   - `CheckpointCoordinatorFailoverIT`: `dev` 10/78 failed, this PR 0/78, #12449 0/78. Same injection point (`pendingCounter == 0` under the coordinator lock), but #12449 achieves it without adding a production accessor, which I prefer.
   - `PayPalClientTest#closeWakesRetryWait`: `dev` 5/50 (20/20 with the forced `IOException`), this PR and #12444 both 0/50 and 0/20. Equivalent fixes.
   - `TestFilterRowKindIT#testFilterRowKindMultiTable` on Flink 1.15/1.18: `dev` 8/14, `parallelism = 1` 0/6, #12216 0/13.
   
   I agree with your recommendation. Since #12449 and #12444 each already cover one of these in isolation and are small, keeping duplicate copies here only invites three-way conflicts on the same files. Concrete asks for this PR:
   
   1. Drop the `runWhenNoCheckpointPending` accessor and the `CheckpointCoordinatorFailoverIT` change; let #12449 land that.
   2. Drop the `PayPalClientTest` / `PayPalIT` changes; let #12444 land that.
   3. Keep the `TestFilterRowKindIT` `parallelism = 1` conf change as a stopgap, with a one-line comment pointing at #12216 as the real fix for the Assert-sink race across all multi-table confs.
   4. Keep the `TaskExecutionService.submitBlockingTask` / `PhysicalVertex` recovery fix and the PostgreSQL CDC LSN backport (`PostgresOffsetContext` / `WalPositionLocator` / `PostgresStreamingChangeEventSource`) as the core of the PR, and update the description so the title and summary reflect that narrower scope.
   
   Once the scope is trimmed, please post the resulting diff stat so it can be re-reviewed against the reduced file set. The earlier approval was on head `1ce4248c7ecb`; a new head will need a fresh pass, which should be quick given the two remaining pieces were already traced in detail.
   
   One note for whoever picks up the recovery fix review: the CDC LSN part has not been stress-tested in this thread, so if you have a savepoint-restore scenario handy where a commit and the next transaction's first event share a WAL LSN, a before/after run of that would be very welcome. Not a blocker, but it would close the last gap in the evidence here.
   
   <!-- streview-comment:1323 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5855685830

   @DanielLeens I found a reproducible Java 8 failover problem on the current head `4f86cb0ac63e` while investigating the engine job's stalled log. Please treat this head as not ready pending the fix.
   
   Using the existing `CheckpointCoordinatorFailoverIT#testBatchJobCompletesAfterMasterFailover`, OpenJDK 8 and two active processors, with no changes to the test or CI:
   
   - Current head: two local executions did not complete within the 600-second diagnostic limit.
   - Unmodified base `025d08f9bcb0`: two executions passed (1 test, 0 failures/errors/skips each), each in about 27 seconds.
   - Current head with only the `TaskExecutionService` change removed, in an isolated local worktree: still did not complete within 600 seconds.
   - Current head with only the `PhysicalVertex.cancel()` change removed, retaining the task-startup fix: passed in about 27 seconds (1/0/0/0).
   
   The thread dumps show tasks waiting in `READY_START` and the client waiting for job completion. This strongly implicates the cancellation/recovery change, although I am still tracing the exact interaction before proposing a correction. The remote Java 8 engine job is still running; its last log is from this same ordinary master-failover case. This is separate from the earlier close-handshake case.
   
   The successful PostgreSQL result and Java 11 engine result reported above remain valid. No workflow changes, skips, or unverified source patch have been pushed during this diagnosis. I am working on the correction and will report its local and remote validation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Stabilize task recovery and connector CI regressions [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5806187860

   @DanielLeens, addressed the review in `1ce4248c7ecb` and rebased onto current `dev`. Please take another look.
   
   - **Issues 1–2:** removed the worker-loss/cancel fix, its test and documentation, and the backpressure fixture changes. #12311 and #12313 remain the authoritative PRs for those changes. The description explicitly identifies the production checkpoint-lock starvation fix as separate work in #12316.
   - **Issue 3:** removed the historical extraction wording. The description now explains the final scope and the related PRs. The timeout changes are already merged through #12445, so this PR now has no workflow diff.
   - **Issue 4:** replaced the new private-field reflection with `@VisibleForTesting runWhenNoCheckpointPending`. The pending-state check and fault injection still execute together under the coordinator lock, without exposing the lock or counter to the test.
   - **Issue 5:** kept the standard ASF file header and moved the Debezium copyright/origin attribution into the existing class Javadocs.
   - **Issue 6:** replaced the private-method-name stack check with an executor-submission latch and an unfinished-deployment wait-state check. The early-failure/cancellation assertions are unchanged.
   
   Local validation on OpenJDK 11: full-root Spotless and `-DskipTests verify` passed; 45 engine regression cases, the real checkpoint dispatch-failure integration case, and 32 PostgreSQL/PayPal cases all passed (78 total, no failures, errors, or skips).
   
   The updated diff is 20 files. CI has been triggered for the new head; its result is still pending.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5882610391

   @davidzollo, a quick merge-readiness ping for current head :\n\n- Upstream , , and  are all green.\n- @DanielLeens re-reviewed and approved this exact head.\n- There are no open review threads in the current review state.\n\nGitHub currently shows your requested review as the remaining gate. Could you please take a final look and merge if the current recovery/PostgreSQL CDC LSN scope is acceptable?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5882896443

   Thanks for the ping, @CryoThrust. One note on the flaky-test side of this PR: my earlier stress-test runs were done against the PR diffs as they stood at that time, and I did not record which PR head they corresponded to, so I don't want to assume they cover `3080371ce733`.
   
   The re-review already on this thread lists what changed between `4f86cb0ac63e` and `3080371ce733`: the new guard in `PhysicalVertex.cancel()` and the updated `CheckpointCoordinatorFailoverIT`. Both touch the area I stress-tested, so I'll re-run the same setup against `3080371ce733` and post the numbers here alongside the earlier ones. No action needed from you on that; I'll leave the final merge call to the requested reviewer.
   
   <!-- streview-comment:1401 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Stabilize task recovery and connector CI regressions [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5841962262

   Thanks @goutamadwant for the stress-test comparison. I checked the current patches: #12449 confines the checkpoint injection fix to the existing E2E test, and #12444 fixes the response-side latch ordering in the existing PayPal test helper. Both are still open, as is #12216.
   
   I agree that the smaller fixes should take precedence when they land. For now I am retaining the validated version of this PR; once those fixes are in `dev`, I will rebase and remove the superseded checkpoint accessor/test and PayPal hunks, then rerun validation. The existing green run only covers the current head, not that future reduced diff.
   
   The shared patches have already been removed from #12298 and #12299. Their remaining OceanBase `TableId` serialization and MinIO image-access failures are separate from these overlapping fixes, so merging this PR alone is not a guarantee that both feature PRs become green. @DanielLeens
   
   <!-- seatunnel-common-overlap-followup-20260926 -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5992758474

   ## Module-level results on `ba304980c71f`, as promised
   
   The Build run on this head has finished: [run 37260524575](https://github.com/SEZ9/seatunnel/actions/runs/37260524575) — **94 jobs, zero failures**. Below is the per-module figure for each piece this PR still carries, so each kept change has a result on *this* head rather than on a superseded one. Citations are the Java 11 logs; the Java 8 matrix passed as well (no job in the run concluded anything other than `success` or `skipped`).
   
   | What it covers | Test class | Result | Job |
   |---|---|---|---|
   | PostgreSQL CDC LSN boundary | `PostgresCDCIT` | **37 tests, 0 failures, 0 errors, 0 skips** (968.8 s) | [all-connectors-it-7 (11)](https://github.com/SEZ9/seatunnel/actions/runs/37260524575/job/111607191973), 04:59:22 UTC |
   | Recovery hang fix | `CheckpointCoordinatorFailoverIT` | 4 tests, 0 failures, 0 errors, 0 skips (94.3 s) | [engine-v2-it (11)](https://github.com/SEZ9/seatunnel/actions/runs/37260524575/job/111607192122), 05:55:19 UTC |
   | `parallelism = 1` hunk (#12216) | `TestFilterRowKindIT` | 14 tests, 0 failures, 0 errors, 0 skips (588.3 s) | [transform-v2-it-part-1 (11)](https://github.com/SEZ9/seatunnel/actions/runs/37260524575/job/111607192211), 06:10:49 UTC |
   | PayPal 503 OAuth e2e coverage | `PayPalIT` | 7 tests, 0 failures, 0 errors, 0 skips (168.7 s) | [all-connectors-it-6 (11)](https://github.com/SEZ9/seatunnel/actions/runs/37260524575/job/111607192133), 08:21:25 UTC |
   
   @DanielLeens this is the figure I said I would post rather than reuse — the 37/0/0/0 I quoted on 2026-09-27 was measured on `4f86cb0ac63e`, and the one above is measured on `ba304980c71f`. The number happens to be identical, which is the expected outcome given the rebase touched no PostgreSQL file, but it is now an independent measurement rather than a carried-over one.
   
   ### One thing in the run that looks like a gap and is not
   
   Eleven jobs in that run are `skipped`, including the whole `updated-modules-integration-test-part-1..8` family. That is the gating in `backend.yml`, not dropped coverage:
   
   ```yaml
   updated-modules-integration-test-part-1:
     if: needs.changes.outputs.api == 'false' && needs.changes.outputs.engine == 'false' && needs.changes.outputs.it-modules != '[]'
   ```
   
   ```yaml
   all-connectors-it-1:
     if: needs.changes.outputs.api == 'true' || needs.changes.outputs.engine == 'true'
   ```
   
   The two are mutually exclusive by construction. Because this PR touches the engine, the narrow changed-modules path is skipped and `all-connectors-it-1..7` runs the whole of `seatunnel-connector-v2-e2e` instead — a superset of what the skipped jobs would have covered. That is also why `PostgresCDCIT` and `PayPalIT` above come out of `all-connectors-it-*` rather than out of a per-connector job.
   
   ### Still outstanding from my side
   
   Nothing. `ba304980c71f` is the head I intend to be final, I have no further pushes planned, and I will not push again without saying so here first. The only open item is review of this head — the earlier approval of `3080371ce733` no longer applies after the cleanup push, as noted above.
   
   I am also not re-raising the stress numbers: I retracted that commitment above and the retraction stands.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5903190608

   Thanks for the ping, @CryoThrust.
   
   Acknowledged on head 3080371ce733: per your summary the Build, labeler, and Notify test workflow runs are green, the automated re-review approved this exact head, and there are no open review threads. The scope here (recovery hang fix plus the PostgreSQL CDC LSN boundary handling) is acceptable to me, so I'll do the final pass now.
   
   Two small things before I merge:
   
   1. Please confirm 3080371ce733 is the final head and you don't have any further pushes planned — if anything else lands I'd want to re-check rather than merge a moving target.
   2. The earlier thread noted the full PostgreSQL suite / part-7 job was still in progress at the time of the 4f86cb0ac63e discussion. Could you confirm that run completed successfully on 3080371ce733 (a link to the run is enough)?
   
   Once those are confirmed I'll approve and merge.
   
   <!-- streview-comment:1421 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "xinnyuli (via GitHub)" <gi...@apache.org>.
xinnyuli commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5978116307

   Before/after evidence for the PostgreSQL CDC part of this PR, using the same IT against the PR base and this head (Java 11, stress-ng, no agent):https://github.com/apache/seatunnel/issues/12382#issuecomment-5978110950
   Short version: 3/30 missing before, 0/28 after; in every missing run id=15 starts exactly at the stored commit-end LSN and is filtered as already processed, and with this PR the runs that hit the same boundary resume at the stored LSN and deliver the row.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5852309280

   @DanielLeens A new CI result makes the remaining dependency explicit. On current head `addd4a621854`, [all-connectors-it-5 / Java 11](https://github.com/SEZ9/seatunnel/actions/runs/36285303193/job/108537497579) failed `OceanBaseCDCCompatibilityIT` at 03:27:04 UTC on September 27: 5 tests, 0 failures, 4 errors, 0 skips. All four errors end in `NotSerializableException: io.debezium.relational.TableId`, the same duplicate packaged Debezium runtime failure seen on #12298/#12299.
   
   The independent packaging fix in #12489 has now passed all 5 OceanBase compatibility cases on each JVM: [Java 8](https://github.com/SEZ9/seatunnel/actions/runs/36284739243/job/108524753565) / [Java 11](https://github.com/SEZ9/seatunnel/actions/runs/36284739243/job/108524753606). Both complete shards are also successful, including 30 Fluss tests per JVM, with no added skips. The OceanBase cases retain the existing snapshot/incremental assertions and add actual packaged-jar serialization checks in both jar orders.
   
   I am keeping that connector fix separate from this PR's recovery/WAL changes. Once #12489 is merged, I can update this branch and the feature branches to consume it; local merge preflight against current dev found no textual conflicts. This PR's other jobs are still running. #12489's full Build is not green yet either: its first attempt has the PayPal retry-fixture and PostgreSQL restored-offset failures already reported above, with failed-job retries to be requested automatically when the workflow finishes. This comment records the concrete dependency and validation, not a claim that either full Build has passed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5851589304

   @DanielLeens Updated in `addd4a621854`:
   
   - Kept `runWhenNoCheckpointPending` and the checkpoint fixture as reviewed.
   - Kept the PayPal bodyless response, with a source comment referencing #12444.
   - Kept the FilterRowKind assertion writer at parallelism 1, with a source comment referencing #12216. Row-count assertions are unchanged.
   - Refocused the title and description on task startup/recovery and PostgreSQL CDC LSN recovery.
   
   This follow-up adds only the two reference comments. Spotless and full-reactor `verify -DskipTests` passed locally on OpenJDK 11 using the dependency cache. CI for the new head has been triggered; the preceding head's Build passed 83 jobs with 11 existing skips. Please take the quick follow-up look you offered when convenient.
   
   Separately, #12489 isolates the OceanBase duplicate-Debezium packaging fix observed on current `dev`; it is not bundled into this PR or the two feature PRs. Its full runtime CI is still pending.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5853358037

   @DanielLeens I followed up on the PostgreSQL CI-completeness item in review `5328947038`. The final logs now establish why that test could not finish on `addd4a621854`: both full-run part-7 jobs stopped in `connector-file-s3-e2e` before reaching PostgreSQL.
   
   - [Java 11, job 108537497755](https://github.com/SEZ9/seatunnel/actions/runs/36285303193/job/108537497755): both S3 startup errors repeatedly report Docker `Status 500` / `unauthorized` while pulling `quay.io/minio/minio:RELEASE.2024-06-13T22-53-53Z`; the reactor then explicitly reports `SeaTunnel : E2E : Connector V2 : CDC Postgres ...... SKIPPED`.
   - [Java 8, job 108537497720](https://github.com/SEZ9/seatunnel/actions/runs/36285303193/job/108537497720) has the same sequence. The S3 module reports 11 tests, 0 failures, 2 startup errors and 2 existing skips on each JVM. These are not PostgreSQL test results.
   
   The MinIO image replacement is already merged into `dev@025d08f9bcb0`, so I rebased the same two commits onto that base to allow the PostgreSQL shard to reach the requested test. The new head is `4f86cb0ac63e`. Both commits are `=` in `git range-diff`: no repair to the reviewed runtime logic, fixture logic or assertions was added. The separate OceanBase fix in #12489 is still unmerged and is not included here.
   
   On this exact new tree, OpenJDK 11 Spotless and full-reactor `-DskipTests verify` passed, followed by 77 targeted engine/PostgreSQL/PayPal unit tests with 0 failures, 0 errors and 0 skips. [The fresh Build run](https://github.com/SEZ9/seatunnel/actions/runs/36299863061) is now under monitoring. I will report the actual extended `PostgresCDCIT` result when it executes; the old skipped module and local unit tests are not being presented as that evidence.
   
   One additional result from the superseded run: its Java 8 engine job hit the existing 150-minute timeout during `testBatchJobCompletesAfterMasterFailoverDuringCloseHandshake`. I ran that unchanged existing case separately on the same `addd4a621854` source with local Java 8 and two CPUs; it passed (1 test, 0 failures/errors/skips). The remote timeout remains recorded and the new-head engine CI still needs to complete.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5987426006

   Thanks @xinnyuli for the before/after run linked in `5978110950`. 3/30 missing on the base vs 0/28 on this head, with id=15 starting exactly at the stored commit-end LSN in every missing run and being filtered as already processed, is exactly the boundary the PostgreSQL CDC part of this PR targets, and the runs that hit the same boundary now resuming at the stored LSN and delivering the row is the intended behavior.
   
   One small question so the evidence and the head line up: were the "after" runs executed against `3080371ce733` (the head referenced in my merge-readiness ping above), or an earlier head? If it was an earlier one, a note on which head would help whoever does the final review.
   
   Otherwise nothing has changed on my side since the ping — the current recovery / PostgreSQL CDC LSN scope still stands as-is.
   
   <!-- streview-comment:1527 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5851843434

   @DanielLeens There is now a concrete failing savepoint-restore CI case for the PostgreSQL path discussed above:
   
   - Run `36284739243`, job `108524753463` (`updated-modules-integration-test-part-2`, Java 11): https://github.com/SEZ9/seatunnel/actions/runs/36284739243/job/108524753463
   - This is current `dev` (`025d08f9bcb0`) plus the OceanBase-only packaging patch in #12489; it contains no PostgreSQL changes. The failing Zeta job's logged connector jars are CDC base, PostgreSQL CDC and JDBC, with the PostgreSQL driver.
   - `PostgresCDCIT.testPostgresCdcSnapshotOnlyAndCommittedOffsetStartupModes` fails at line 625: after the restored replication slot becomes active, row `id=15` is inserted but remains absent from the sink for 180 seconds. The class reports 37 tests, 0 failures, 1 error, 0 skips. The same shard passed on Java 8.
   - The Zeta runtime container is `seatunnelhub/openjdk:8u342`. The restored job `7674347993420909938` logs `lsn_proc=lsn_commit=lsn=36202352` (`0/2286770`), then commits through `0/2286940`, while the row assertion still times out. Relevant log timestamps are 01:40:43–01:40:53 UTC on September 27; the test timeout is reported at 01:43:47 UTC.
   
   This is the same startup/restore test that this PR extends to cover a quiet WAL boundary, changes committed while stopped, and subsequent live changes. The log does not include the individual INSERT/BEGIN LSN, so I cannot yet claim that DBZ-6204 is definitively the cause of this particular failure. Sharing the actual runtime case as additional review evidence; no extra patch has been mixed into #12489.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5855058417

   Thanks for the detailed CI trace. Understood that the PostgreSQL suite and the full part-7 job are still running and this is a progress update rather than a final result — no action needed from me right now. My APPROVED review on `4f86cb0ac63e` stands; happy to take a look once the full PostgreSQL result and Build check land.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5882614207

   @davidzollo, a quick merge-readiness ping for current head 3080371ce733:\n\n- Upstream Build, labeler, and Notify test workflow are all green.\n- @DanielLeens re-reviewed and approved this exact head.\n- There are no open review threads in the current review state.\n\nGitHub currently shows your requested review as the remaining gate. Could you please take a final look and merge if the current recovery/PostgreSQL CDC LSN scope is acceptable?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Stabilize task recovery and connector CI regressions [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5824825826

   Thanks for confirming, and for being precise about what this rerun does and doesn't claim. I independently checked the PR's status-check rollup on the unchanged head (`1ce4248c7ecb`) and it matches what you reported: `Build`, `labeler`, and `Notify test workflow` are all `SUCCESS`, with no new commit since my approval. That was the only thing my approval was conditioned on, so my `APPROVED` review stands as-is — no further action needed from me here.
   
   Good call keeping the disclosure explicit that this rerun doesn't fix the underlying checkpoint-lock starvation race; that's still #12316's job, and I'll keep tracking it separately there rather than re-litigating it on this PR. Nice work getting this one to a clean, green state.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Stabilize task recovery and connector CI regressions [seatunnel]

Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5841703965

   I stress-tested the three flaky-test parts of this PR against the PRs they overlap with. Each PR's diff was applied to `dev` at `deb16a3c3`, one fresh JVM per run, on a loaded 10-core macOS host. JDK 11 runs used `-XX:ActiveProcessorCount=2`.
   
   - **`CheckpointCoordinatorFailoverIT` trigger-dispatch test:**
     - `dev` 10 / 78 failed (`Checkpoint notify complete failed`, mostly JDK 11)
     - this PR 0 / 78
     - #12449 0 / 78
     - #12288 8 / 78
   
     This PR and #12449 use the same injection point (`pendingCounter == 0` under the coordinator lock). #12449 does it in the test with no production accessor, and is green.
   - **`PayPalClientTest#closeWakesRetryWait`:**
     - `dev` 5 / 50 on JDK 11 at `:416`
     - this PR 0 / 50
     - #12444 0 / 50
   
     With a forced `IOException` on the body write, `dev` failed 20 / 20; this PR and #12444 failed 0 / 20. Both work.
   - **`TestFilterRowKindIT#testFilterRowKindMultiTable`, Flink 1.15/1.18 only:**
     - `dev` 8 / 14 runs failed
     - this PR's `parallelism = 1` 0 / 6 (`Writer (1/1)` confirmed)
     - #12216 0 / 13
   
   Since #12449 and #12444 each cover one of these on their own and are small, it might be easier for everyone if this PR dropped the `runWhenNoCheckpointPending` / `CheckpointCoordinatorFailoverIT` part and the PayPal part. That would leave the TaskExecutionService/PhysicalVertex recovery fix and the PostgreSQL CDC LSN fix, which I did not test here. That would also make this one smaller to review and avoid three-way conflicts on the same files.
   
   The FilterRowKind conf change is fine as a stopgap. #12216 covers the same Assert-sink race for every multi-table conf.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Fix task recovery hangs and PostgreSQL CDC LSN handling [seatunnel]

Posted by "xinnyuli (via GitHub)" <gi...@apache.org>.
xinnyuli commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5992882435

   
   <blockquote>
   <p>Ran the PR's own extended IT on ba304980c71f with the same setup as before (<code>PostgresCDCIT#testPostgresCdcSnapshotOnlyAndCommittedOffsetStartupModes</code>, Java 11, stress-ng on, no agent, Debezium resume logging on). Run: https://github.com/xinnyuli/seatunnel-12382-repro/actions/runs/37292055597</p>
   <ul>
   <li>30/30 runs reached the id=15 check and passed (0 ROW_MISSING, 0 setup failures).</li>
   <li><strong>10/30 hit the ambiguous boundary</strong> (first LSN on restart == stored commit-end LSN). All 10 delivered the row: nothing was filtered as already processed, and the resume position equalled the stored LSN in every case.</li>
   </ul>
   
   run | stored lsn_proc | first LSN on restart | skipped as processed | outcome
   -- | -- | -- | -- | --
   n1 | 0/2229658 | 0/2229658 | – | PASS
   n2 | 0/222A260 | 0/222A260 | – | PASS
   n3 | 0/222A9E0 | 0/222A9E0 | – | PASS
   n6 | 0/2228860 | 0/2228860 | – | PASS
   n15 | 0/2225710 | 0/2225710 | – | PASS
   n19 | 0/222D698 | 0/222D698 | – | PASS
   n20 | 0/2224D78 | 0/2224D78 | – | PASS
   n21 | 0/2229A90 | 0/2229A90 | – | PASS
   n24 | 0/22268E0 | 0/22268E0 | – | PASS
   n28 | 0/22270D0 | 0/22270D0 | – | PASS
   
   
   <p>Since the test asserts id=15 and id=16 in the same block, PASS covers both. The WAL-range logging wasn't used here because the patch doesn't apply to the updated test (id=15 is now inserted while the job is stopped); boundary hits come from the Debezium resume logs instead.</p>
   <p>One caveat: this is the fixed code only. I didn't run this updated test against the PR base, so it doesn't by itself show the old code losing the row under the new test. The earlier before/after (3/30 vs 0/28 on the original test) covers that side.</p>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][E2E] Stabilize task recovery and connector CI regressions [seatunnel]

Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12454:
URL: https://github.com/apache/seatunnel/pull/12454#issuecomment-5815633601

   @DanielLeens Thanks for the re-review and approval. I re-ran only the failed Java 8 `engine-v2-it` job as suggested. Run `SEZ9/seatunnel#35945865060` is now on attempt 3, with job `107667843914` in progress on the unchanged head `1ce4248c7ecb1bb84ca42bd5cecec4d08f48ad09`; the 82 successful jobs are retained.
   
   The OceanBase connector jobs also passed on the previous retry of this same head. The remaining failure was `BackpressureSlowSinkIT#testCheckpointsKeepCompletingUnderSustainedBackpressure`, which you identified as the existing issue tracked in #12316. No additional source or workflow changes were made for this rerun. I will follow the result before calling CI green.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org