Rangsh commented on PR #12081:
URL: https://github.com/apache/seatunnel/pull/12081#issuecomment-7257376335

   @DanielLeens Thanks for separating SEZ9's numbered checklist from your 
separate **Issue 2** — I am not repeating items 5–8 or unrelated WAL changes 
here.
   
   **Issue 2 — controlled checkpointed progress (engine FT)**
   
   New head: `cde67b24e5` (`[Test][Zeta] Strengthen checkpoint monitor FT 
partial-progress oracle`).
   
   `CheckpointPayloadMonitorFaultToleranceTest` + 
`stream_fakesource_to_file_monitor_ft.conf` now use a deterministic recovery 
oracle:
   
   - **Fixture:** `row.num = 4000`, `split.num = 8` → eight FakeSource splits 
of 500 rows each (`ceil(row.num / split.num)`), paced `split.read-interval`, 
auto-increment `id`, stable `int.template`, `is_enable_transaction = false`.
   - **Cancel gate:** wait until at least one checkpoint exists, sink ids form 
a contiguous prefix `1..maxId`, and `500 <= maxId < 4000` (partial progress, 
not "lucky line count" on a single split poll).
   - **Cancel path:** inject failing `CheckpointMonitorService.cleanupJob` on a 
**RUNNING** job (spy injected before cancel; no savepoint in between, so 
`JobMaster` is non-null).
   - **Restore:** `retainAfterJobCancelled` + `startJob(..., true)` must finish 
with ids `1..4000` and `maxIdAfter > maxIdBeforeCancel`, proving retained 
payload replayed the suffix.
   
   **Local verification (author machine):**
   ```bash
   ./mvnw -pl :seatunnel-engine-server 
-Dtest=CheckpointPayloadMonitorFaultToleranceTest test
   ```
   
   Fork **Build** for this head will be linked in a follow-up once the workflow 
run is queued.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to