SEZ9 commented on PR #12081: URL: https://github.com/apache/seatunnel/pull/12081#issuecomment-7326312789
Hi @Rangsh, thanks for the follow-up. I'm going by your description here and have not re-checked the code. **Point 7 (timed `RequestFuture#get(long, TimeUnit)` Javadoc).** This covers what was asked. As you describe it, the method-level Javadoc now states that a timeout does not cancel the in-flight append, that the future stays incomplete until `done(boolean)` runs, and that callers must treat a timeout as failure for the waiting key. Together with the throws entry for `TimeoutException`, the "throws instead of returning `false`" contract is documented on the method itself. Nothing further on this point. **Point 8 (timeout logging).** This also addresses the concern. An expected timeout produces one `WARN` line with request id, elapsed time and the shared limit, with the `TimeoutException` stack at `DEBUG` only. `ERROR` with the stack is kept for unexpected wait failures. Nothing further here either. **Head note.** Understood: `7c9e0f192c..cde67b24e5` is test/config only, with no production diff in `RequestFuture`, `IMapFileStorage` or `WALWorkHandler`, so Points 1–8 still refer to the behavior on `7c9e0f192c`. Remaining questions: 1. **Points 1–6:** this comment is "remainder only", and I don't have your answers to Points 1–6 in front of me. Could you restate them briefly or point me to where they are? 2. **Batch wait:** you mention a "shared limit" in `queryExecuteStatusBeforeDeadline` and the same branches in `batchQueryExecuteFailsStatus`. Does that mean `storeAll`/`deleteAll` are now bounded by one overall deadline, rather than waiting the full write timeout for each entry in turn? 3. **Newer head:** your later comment refers to `d93ef08031`. Are the changes between `cde67b24e5` and `d93ef08031` also free of production changes in `RequestFuture`, `IMapFileStorage` and `WALWorkHandler`, so that Points 1–8 still apply as described? <!-- streview-comment:2762 --> -- 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]
