Github user StefanRRichter commented on the issue:
https://github.com/apache/flink/pull/5248
Yes, that is a pretty good summary. `CompletedCheckpointsRegistry` or maybe
just `CompletedCheckpoints` might already be a good enough name, after all it
is just a queue.
One more comment about the typed pointer, I think there is a small
misunderstanding. I don't ask to type it for the content, but for the usage. I
agree that this should just a a string provided by the user, but wrapping it
until final usage (i.e. interpretation) has advantages:
- If you see the variable, you know what it stands for and it requires no
further thinking about what that object could be - you see it immediately or by
hovering over it.
- Functions like xyz(String, String, String) are strictly worse than
xyz(JobID, OperatorName, StoragePointer), you need to think more and can make
more mistakes be messing up parameter order. Similar to why we have all the id
types and not just use `UUID` everywhere.
- If you search usage of that type, you can easily track all code that
deals with storage pointers.
- This type is rarely produced in the system, so memory overhead should not
count more than the above points.
---