DanielLeens commented on PR #13534:
URL: https://github.com/apache/seatunnel/pull/13534#issuecomment-7247668765

   ## Implementation Notes and Trade-offs
   
   Current PR head: 9c6eb86ed9285ed6368de42ed34ddd06a4a52c13.
   
   The dedicated Acuity source formerly emitted an entire decoded response 
inside one poll/collector monitor. At1rps,20rows prevent a5s checkpoint 
handoff. It also retained incoming custom-origin JSON names in static/native 
intern roots, could not compile against required checkpoint callbacks, and 
conflated distinct id-less same-email client profiles.
   
   This correction uses response-owned native Jackson copies with 
INTERN-off/CANON-on; one successful collection per poll; a private durable 
accepted-row index plus a32-byte SHA256 digest of the entire ordered rendered 
response; and full-content UTF16-framed synthetic IDs while preserving true 
provider IDs. Recovery verifies the full response before any 
skip/empty/saturated transition and fails before emitting changed content. 
Final collection/query advancement remains atomic. No shared 
engine/API/worker/serializer/POM or other connector executable code changes.
   
   Rejected: transient-only cursors would replay checkpointed prefixes and 
weaken the original contract; shared checkpoint/collector edits or timeout 
inflation would evade the dedicated scheduling cause; disabling CANON risks 
replacement UTF8 decoding; INTERN-off alone leaves static history; email alone 
is not a unique provider ID. No stable provider identity can be invented for 
id-less objects; content/property-order changes deliberately change synthetic 
IDs. Response mutation deliberately fails recovery rather than silently 
emitting a mismatched suffix.
   
   All original assets10IT/5configs remain. One previously incorrect 
email-prefix assertion is strengthened to an independent exact vector. Only the 
two held-response recovery prerequisites are lengthened because their existing 
legal waits already exceed them, with explicit finite peer guards, stop/join 
cleanup and unchanged actual3s deadline coverage. One new existing-class IT 
covers the throttled prefix/savepoint/restore, exact20payloads/IDs, two 
accepted GETs, byte-encoding compatibility, isolated changed-tail rejection and 
otherwise-valid malformed UTF8 rejection. No new test class/dependency.
   
   Actual verification: all14incremental paths independently inspected by root, 
source/native/API/AST/hash/assertion-preservation/diff/merge-tree checks, and 
four scoped leaf Spotless apply/check commands passed. No compilation or 
functional/local engine/provider/heap/OOM run. The new current-head GitHub CI 
must validate compilation, generated services/package and all relevant engine 
scenarios. Historical failures/other passing shards do not validate this head. 
No source-only candidate notification is sent.
   
   Thank you for contributing to Apache SeaTunnel.
   


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