SEZ9 commented on PR #12081: URL: https://github.com/apache/seatunnel/pull/12081#issuecomment-7085856961
@Rangsh thanks for the point-by-point write-up and the fork Build link for `a370bdf6b3`. To answer directly: the synced-head pass is not done yet, and I'll base it on `a370bdf6b3`. Nothing below is verified against the code yet; it is my reading of your answers. **Looks answered, to be confirmed in the pass** - **Unbounded `RequestFuture.get()`**: you state the no-arg `get()` is capped via `get(untimedGetTimeoutMillis, MILLISECONDS)` and surfaces `ExecutionException` with a `TimeoutException` cause, even if the worker dies via `Error` or the event is never dispatched. You also state that no production path in `IMapFileStorage` calls it. - **Sequential per-entry wait in `batchQueryExecuteFailsStatus`**: you describe a single shared `deadlineNanos` with `get(remainingNanos, …)`. `IMapFileStorageBatchDeadlineTest` asserts wall time under `PENDING_KEYS × TIMEOUT_MS` through public `storeAll` / `deleteAll`. - **Mockito**: `HdfsWriterFlushSyncPathTest` is no longer on the branch, and the Mockito cases now live in `HdfsWriterFlushCallCountTest`. **Still needed from you** The copy of your answer I have ends mid-sentence at the Mockito dependency point, so please restate these briefly: 1. **Mockito dependency**: where does `imap-storage-file` inherit the Mockito test dependency from? 2. **`WALWorkHandler` worker survival**: what happens on the synced head if `executeResponse()` throws, given the caller-side timeout and future eviction? Does the single disruptor worker stay alive, and is there a test for it? 3. **Writer reuse after a write failure**: does `WALWorkHandler` still reuse the same writer after an arbitrary write failure, or is it now closed or rotated to avoid a torn WAL record mid-file? 4. **Timed `get(timeout, unit)` contract**: does it still throw `TimeoutException` rather than return `false`, and is that now documented on the method itself rather than only at class level? 5. **Timeout logging**: does a timed-out write wait still log a full `TimeoutException` stack trace at ERROR, or has that been reduced? Once I have those five answers I can finish the pass on `a370bdf6b3`. <!-- streview-comment:2531 --> -- 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]
