SEZ9 commented on PR #12081: URL: https://github.com/apache/seatunnel/pull/12081#issuecomment-7069795394
@Rangsh thanks for the update. I have not yet taken the second look you asked for at `412ee1c763`. Your summary does not cover every point from the earlier review, so I need the answers below before I can close them out. **Points your summary touches, with one confirmation needed on each:** - **Batch deadline:** `IMapFileStorageBatchDeadlineTest` going through the public `storeAll` / `deleteAll` is the right shape. Does the batch now share one overall deadline, or does `batchQueryExecuteFailsStatus` still wait the full write timeout for each entry in turn? Which upper bound does the test assert when the WAL worker is stuck? - **Stalled consumer:** the watchdog rejection and future eviction sound relevant to callers hanging. Is the untimed `RequestFuture.get()` itself bounded now, or can it still block forever if the worker dies via an `Error` or the event is never dispatched? - **Flush tests:** the earlier concern was that `HdfsWriterFlushSyncPathTest` uses Mockito with no Mockito test dependency added to the `imap-storage-file` module. Does `HdfsWriterFlushCallCountTest` replace that test, and is the dependency now declared (or Mockito no longer used)? **Points I don't see mentioned — please say for each whether it is fixed in `412ee1c763`, or why it is intentionally left:** - **Worker survival:** can the single disruptor worker in `WALWorkHandler` still die if `executeResponse()` throws, for example when the caller has already timed out and removed the future? - **Writer reuse:** does `WALWorkHandler` still reuse the same writer after an arbitrary write failure, which risks a torn WAL record in the middle of the file? - **`RequestFuture.get()` compatibility:** the untimed `get()` went from a 1-second-capped wait to an unbounded block, and the timed `get()` now throws `TimeoutException` instead of returning `false`. Have all existing callers been checked against the new behaviour? - **Method-level docs:** the new timeout contract is documented only at class level, not on `get(timeout, unit)` itself. - **Log noise:** `queryExecuteStatus` logs a full `TimeoutException` stack trace at ERROR for every timed-out write wait, where the old code returned `false` silently. A short point-by-point answer is enough. Please also post the results of the local test commands you listed, since the comment gives the commands but not their outcome. <!-- streview-comment:2506 --> -- 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]
