SEZ9 commented on PR #12081: URL: https://github.com/apache/seatunnel/pull/12081#issuecomment-7262915041
Hi @Rangsh, thanks for answering the untimed `get()` question directly. Your comment is cut off mid-sentence in Point 3 (it ends at "capped no-arg `get"), so I can only respond to points 1 and 3 so far. **Point 1: still open until I check the diff** - You describe untimed `RequestFuture#get()` as calling `get(untimedGetTimeoutMillis, MILLISECONDS)`, with no production caller of the no-arg form in `imap-storage-file`, and the waits in `IMapFileStorage` all timed, with the cache entry removed in `finally` on expiry. - If the code matches that description, it addresses the "hang forever" concern. I will confirm against the diff before closing this point. **Other open points** - **Point 2:** You note the WAL worker does not catch `Error` on the write path. What happens if `executeResponse()` throws an ordinary exception, for example when the caller has already timed out and removed the entry? Does the handler survive and keep serving later requests? - **Point 3:** Please repost the rest of this answer. I need the effective default of `untimedGetTimeoutMillis`, and confirmation that every caller of the timed `get` handles `TimeoutException` where it used to get `false`. - **Point 4:** Is the writer still reused after an arbitrary write failure? - **Point 6:** `operationDeadlineNanos()` and the "shared budget" wording suggest `batchQueryExecuteFailsStatus` now uses one deadline for the whole batch, not a full timeout per entry. Please confirm that is the case. - **Points 5, 7, 8:** I have no status for these yet: the Mockito test dependency for `HdfsWriterFlushSyncPathTest`, the method-level doc for the timed `get` contract, and the ERROR-level stack trace on each timed-out wait. A one-line done/not-done for each is enough. **Current head** - Your later comment says the head is now `cde67b24e5`. Please confirm the production code behind points 1–8 is unchanged since `7c9e0f192c`. <!-- streview-comment:2712 --> -- 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]
