rkhachatryan commented on a change in pull request #13735:
URL: https://github.com/apache/flink/pull/13735#discussion_r517406747
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/state/AbstractChannelStateHandle.java
##########
@@ -46,6 +46,11 @@
private final List<Long> offsets;
private final long size;
+ /**
+ * The original subtask index before rescaling recovery.
+ */
+ private int originalSubtaskIndex;
Review comment:
That means that after recovery it's not valid until explicitly set,
right?
I think it's quite error-prone. I'd at least document this behavior and mark
it deprecated to give a warning.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]