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

   @SEZ9 Thanks — restating the five points that were truncated in your copy 
(HEAD `a370bdf6b3`):
   
   1. **Mockito dependency** — Not declared in `imap-storage-file/pom.xml`. The 
module inherits test-scoped `mockito-junit-jupiter` and `mockito-inline` from 
the repo root `pom.xml` (`dependencyManagement` + parent test deps). Verify: 
`./mvnw -pl :imap-storage-file dependency:tree -Dincludes=org.mockito`.
   
   2. **Worker survival** — `executeResponse()` is wrapped in `try/catch 
(Exception)`; a missing/evicted future logs WARN and returns; response failures 
log ERROR but do not rethrow, so the sole Disruptor consumer keeps processing. 
`Error`/`Throwable` are not caught (JVM-level). Covered by 
`WALWorkHandlerSurvivabilityTest`.
   
   3. **Writer reuse after write failure** — The same `WALWriter` instance 
stays open, but after any APPEND failure `appendBlockedAfterWriteFailure` is 
set sticky for the handler lifetime: further APPENDs do not write more bytes 
(fail-close + `done(false)`). We do not close/rotate/reopen `wal.txt` 
in-process to avoid mid-file torn records; recovery is process restart per 
`WALWorkHandler` Javadoc.
   
   4. **Timed `get(timeout, unit)`** — Still throws `TimeoutException` on 
expiry (not `false`). Documented on `RequestFuture#get(long, TimeUnit)` 
(class-level doc covers the required no-arg `get()`).
   
   5. **Timeout logging** — Timed-out write waits: WARN one-line summary; full 
`TimeoutException` stack at DEBUG only (`queryExecuteStatusBeforeDeadline` / 
`batchQueryExecuteFailsStatus`). Non-timeout failures remain ERROR.
   
   Fork Build for `a370bdf6b3`: 
https://github.com/Rangsh/seatunnel/actions/runs/44966609390 (green). Happy to 
clarify anything in the synced-head pass.


-- 
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