SEZ9 commented on PR #13060:
URL: https://github.com/apache/seatunnel/pull/13060#issuecomment-7050590953

   @zephyr45 thanks for the clear breakdown of F1–F3 at `117dc411`. I have not 
checked these against the diff or run the tests myself, so I am recording them 
as reported rather than confirmed.
   
   - **F1:** You report this fixed in `585f69b7` by removing 
`validateRestoredStateOwner` and its modulo check, so a writer fences every 
state the engine assigns it. That approach matches the finding about the Flink 
contiguous scale-down restore.
   - **F2:** You report this fixed in `585f69b7` by parsing each restored state 
with its own saved prefix when `transaction_prefix` is unset and fencing every 
namespace, with `#shouldRestoreMixedGeneratedPrefixesAfterScaleDown` as the 
test. That approach matches the mixed-prefix finding.
   - **F3:** Thanks for clarifying "Ended". As you describe it, a stateless 
writer starts at sequence 1, and `initTransactions` on that ID fences a failed 
first attempt before the first send, which was the core of the finding. You 
also note that a later sequence abandoned before any checkpoint can still block 
`read_committed` until `transaction.timeout.ms` expires, and that this is 
documented in the EN/ZH `Kafka.md` Semantics section. If the docs state that, I 
don't expect to ask for more code on F3.
   
   I'll confirm F1–F3 once I have gone through the diff.
   
   Your comment covers only F1–F3, so could you post the same kind of short 
status for the rest at `117dc411`?
   
   - **F4:** How are Spark task retries handled, given that the subtask index 
is the Spark taskId and each retry gets a new transactional namespace?
   - **F5 / F6:** Is the concurrent fencing of the legacy shared namespace by 
every restoring writer changed, or left as is?
   - **F7:** Is the `transaction_prefix` option row aligned with the Semantics 
paragraph, and is the engine scope of the rescaling claim stated?
   
   For each one, "fixed in <commit>" or "left as is, because …" is enough.
   
   <!-- streview-comment:2477 -->


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