Github user tillrohrmann commented on a diff in the pull request: https://github.com/apache/flink/pull/1883#discussion_r60906912 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StateForTask.java --- @@ -131,11 +108,13 @@ else if (o instanceof StateForTask) { @Override public int hashCode() { - return state.hashCode() + 31 * operatorId.hashCode() + 43 * subtask; + return (int) (this.stateSize ^ this.stateSize >>> 32) + + 31 * ((int) (this.duration ^ this.duration >>> 32) + + 31 * state.hashCode()); } @Override public String toString() { - return String.format("StateForTask %s-%d : %s", operatorId, subtask, state); + return String.format("StateForTask(%s)", state); --- End diff -- True this is not so helpful. Will take a look what else one could return here.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---