SEZ9 commented on PR #13243: URL: https://github.com/apache/seatunnel/pull/13243#issuecomment-7145098582
@nzw921rx thanks for sending the email and sharing the mailing-list thread: https://lists.apache.org/thread.html/vyhqqz1w63x0dyr8zjqf1twg899gskpk. Your comment did not ask anything of me, so nothing is pending on my side for the discussion itself. The email gives the contract discussion a home, but it does not close the three source points. They remain open on `d1d829d42635cc4998d810437b5e5a226e70dd5f`: - **F1 (restore):** pending writer state is not preserved when a restore changes the replica assignment. - **F2 (save mode):** the replica check runs only when the writer is created, after save mode can already have dropped or recreated the target tables. - **F7 (binary keys):** `KEYED` routing hashes the raw key with `key.hashCode()`, so equal `byte[]` keys can land on different replicas. #13242 is a separate proposal, so its existence does not mean the fix is part of this PR. @SEPURI-SAI-KRISHNA your dev@ reply and the plan you described look right to me. Once the direction is settled on the list, the remaining asks are: 1. Post the agreed contract for each of the three points back here, so the PR thread records the outcome. 2. Push a new commit with the code changes for F1, F2 and F7. 3. Include a focused regression test for each: restore after a replica change, rejection before save mode touches the target, and binary-key affinity. 4. Resolve the docs conflict with dev in that same update, as you mentioned. I will look at the code again when that commit is up. <!-- streview-comment:2585 --> -- 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]
