Github user senorcarbone commented on the issue:
https://github.com/apache/flink/pull/1668
Thanks for the review @gyfora and @StephanEwen , these are very good points.
@StephanEwen makes sense to not really index/keep metadata of individual
records in log slices, it is extra overhead. Writing raw operator state makes
sense, so I will do that once @StefanRRichter gives me some pointers, that
would be great.
Any redistribution of the checkpoint slices would violate causality so I
hope the "list redistribution pattern" actually keeps the set of registered
operator states per instance intact. The garbage collection issue still remains
but maybe (if @StefanRRichter approves) I can add an `unregister` functionality
to the `OperatorStateStore`.
I can also add preconfigured operators (not that they will be reused
anywhere). It is more clean but I really need to see how can I get full control
of the `task` checkpointing behaviour from the `operator` level (since the
default task checkpointing behaviour is altered at the task-level).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---