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

   @SEZ9 F1–F3 at head `117dc411`:
   
   - **F3:** "Ended" was unclear, sorry. Code (`d8143b58`, `b9ed7c12`): a 
stateless writer starts at sequence 1, and `initTransactions` on that ID fences 
a failed first attempt before the first send. Tests: 
`KafkaSinkWriterTest#shouldReuseGeneratedPrefixWhenStatelessWriterRetries`, 
`#shouldNotWalkStatelessWriterTransactionHistory`. Docs (`b9ed7c12`, EN/ZH 
`Kafka.md` Semantics): a later sequence abandoned before any checkpoint can 
block `read_committed` until `transaction.timeout.ms` expires, the limitation 
you accepted 
[here](https://github.com/apache/seatunnel/pull/13060#issuecomment-6936149729).
   - **F1:** Fixed in `585f69b7`. `validateRestoredStateOwner` and its modulo 
check are removed; a writer fences every state the engine assigns it, so a 
Flink contiguous scale-down restore no longer throws. Tests: 
`#shouldFenceContiguouslyAssignedFlinkNamespacesAfterScaleDown`, 
`#shouldFenceEveryAssignedWriterNamespaceAfterScaleDown`.
   - **F2:** Fixed in `585f69b7`. With `transaction_prefix` unset, each 
restored state is parsed with its own saved prefix and every namespace is 
fenced. Test: `#shouldRestoreMixedGeneratedPrefixesAfterScaleDown`.
   


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