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

   Thanks for the follow-up. The head is still 
`434247e5e67f2d0a35ab9dec0653f2e28bbe27a2`, so all eight earlier findings 
remain open and none can be marked resolved yet.
   
   Remaining asks, in priority order:
   
   **Correctness (blocking)**
   - **PR11077-F1:** Make the destination key unambiguous, so a key collision 
can never route one table's data through another sink's writer.
   - **PR11077-F2:** Give a shared writer's state a single owner. Today the 
snapshot fans the state out to every aliased identifier and restore unions it 
back, so recovery sees it N times.
   - **PR11077-F3:** The shared writer is created from an arbitrary alias's 
sink instance and `CatalogTable`, yet receives rows from all aliased tables. 
Please guard against schema and config divergence across those tables.
   
   **Logic and robustness**
   - **PR11077-F5:** Register a `proxyContexts` entry for every aliased 
identifier, not only the first per destination, and avoid the `containsValue` 
scan that adds O(n²) startup cost.
   - **PR11077-F7:** Keep the declared `IOException` contract for 
`createWriter`/`restoreWriter` instead of wrapping it in a `RuntimeException` 
inside `computeIfAbsent`.
   
   **Docs and style**
   - **PR11077-F4:** Document `getPhysicalDestinationIdentifier()` and the 
multi-table writer-sharing behavior under `docs/`.
   - **PR11077-F6:** Document the changed `restoreWriter` contract for 
connector implementers: one `SeaTunnelSink#restoreWriter` call now receives the 
merged state from all aliased identifiers.
   - **PR11077-F8:** Add the missing param and return tags to the 
`getDestinationKey` Javadoc.
   
   Please keep the F1–F3 behavioral fixes and their restore tests in the same 
update, so the destination-identity and restore-ownership boundaries can be 
checked together. When you push, a short note mapping each finding ID to its 
change would help.
   
   <!-- streview-comment:2664 -->


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