SEZ9 commented on issue #13366:
URL: https://github.com/apache/seatunnel/issues/13366#issuecomment-7116329473
@nzw921rx thanks for the three refinements. I agree with each.
1. **Engine E2E reuse**: extending the existing flush-signal E2E in
`engine-e2e` (the `TimerFlushIT` you referenced) is a good home for the
end-to-end regression. The focused assertions are still needed alongside it:
- An out-of-window tick does not call
`checkpointLockHandoff.injectorArriving()` or acquire the checkpoint lock.
- There is no catch-up burst at the window boundary.
- Checkpoints, batch-size flushing and close are unaffected.
2. **Start and end both set or both unset**: agreed. Please also spell out
the rest of the validation: malformed times, equal endpoints, cross-midnight
ranges, and blank versus unset. The no-window behavior and the
`sink.flush.interval <= 0` semantics must stay unchanged.
3. **Hours and minutes only**: agreed, no date component is needed.
Before a PR, these items are still open:
- **Time zone**: the quoted proposal defaults to the worker's JVM zone. A
window should not silently depend on each worker's `ZoneId.systemDefault()`, so
please specify an explicit valid IANA zone ID and the behavior for DST gaps and
overlaps.
- **Measurements**: an E2E does not replace the baseline from the affected
job. Please post:
- SeaTunnel version, source and sink, `sink.flush.interval`,
`multi_table_sink_replica` and input rate.
- Source lock-wait and sink-flush evidence for timer-disabled, all-day
timer and excluded-peak-window runs.
- Whether source-side lock acquisition or sink-side draining/writer wait
dominates.
- **Scope**: keep the change to the existing timer path, apply the same
documented rule to the supported job modes, and update the English and Chinese
configuration docs.
Could you post the completed contract (zone, DST and validation rules) and
the measurements here first?
<!-- streview-comment:2566 -->
--
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]