sun-9545sunoj commented on PR #13374:
URL: https://github.com/apache/seatunnel/pull/13374#issuecomment-7065210591
@DanielLeens thanks for re-checking the whole chain.
**Issue 4 (lazy storage lifecycle):** fixed in 32874f41c. This is a
comment-only change in `SeaTunnelServer`:
- The `chunkStateStorage` field comment now describes:
- when the storage is created (lazily, on first use)
- that it is cached for the server's lifetime
- who owns it: the `CheckpointService` when this node runs the master
services, otherwise this server
- why the field is `volatile`
- `createChunkStateStorage()` now has a method comment covering:
- that it is called at most once, under the lock
- reuse of the master's storage
- the copied plugin configuration on other nodes, and why it is copied
- that the instance is kept until shutdown, because the storage SPI has no
close method
- that an incompatible plugin is rejected with nothing cached
There are no code changes. `spotless:apply` and `-DskipTests verify` pass on
`seatunnel-engine-server`.
**CI:** the fork's Actions setting reports itself as enabled, but GitHub
still rejects workflow runs on the fork ("Actions has been disabled for this
repository"), so there is no current-head Build run yet. I'll post the run link
as soon as it is unblocked.
--
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]