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

   @SEZ9 — reposting the truncated tail (separate short comment). Synced head 
is now `cc33dbe9bd` (includes `a370bdf6b3` + latest `dev` merge).
   
   **4. Timed `get(timeout, unit)` (full)** — Still throws `TimeoutException` 
on expiry (not `false`). The contract is documented on the method itself in 
`RequestFuture#get(long, TimeUnit)` (throws on timeout; a timeout does not 
cancel the in-flight append). Class-level Javadoc covers the required no-arg 
`Future#get()`.
   
   **5. Timeout logging** — A timed-out write wait logs a one-line **WARN** 
summary. The full `TimeoutException` stack is **DEBUG** only 
(`queryExecuteStatusBeforeDeadline` and `batchQueryExecuteFailsStatus`). 
Non-timeout failures remain **ERROR**.
   
   **`dependency:tree -Dincludes=org.mockito` (`./mvnw -pl :imap-storage-file 
…`, HEAD `cc33dbe9bd`):**
   ```
   org.apache.seatunnel:imap-storage-file:jar:3.1.1-SNAPSHOT
   +- org.mockito:mockito-junit-jupiter:jar:4.11.0:test
   |  \- org.mockito:mockito-core:jar:4.11.0:test
   \- org.mockito:mockito-inline:jar:4.11.0:test
   ```
   (Inherited from root `pom.xml` test dependencies; not redeclared in 
`imap-storage-file/pom.xml`.)
   
   **Worker dies via `Error` / event never dispatched** — Production 
`IMapFileStorage` uses only timed `get(remainingNanos, …)` with the operation 
deadline, so callers bound by that budget get `TimeoutException` and remove the 
future. The required no-arg `get()` delegates to `get(untimedGetTimeoutMillis, 
MILLISECONDS)` and surfaces `ExecutionException` with a `TimeoutException` 
cause after that cap — it does not block forever even if the disruptor thread 
dies with an `Error` or never runs the event.
   
   **Three one-line statuses on the earlier open points:**
   - **Untimed `get()`:** Not 1s-cap and not unbounded — capped by 
`untimedGetTimeoutMillis` (default = write timeout); expiry → 
`ExecutionException` (cause `TimeoutException`).
   - **Batch waits:** One shared `deadlineNanos` per `storeAll`/`deleteAll`; 
each entry uses `get(remainingNanos, …)`, not `N × writeDataTimeout` 
(`IMapFileStorageBatchDeadlineTest`).
   - **Timeout log noise:** WARN one-liner on timeout; stack at DEBUG only (not 
ERROR per wait).
   
   Thanks — happy to clarify anything in your synced-head pass on `cc33dbe9bd`.


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