Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-26629

Error in code comment for SubtaskStateMapper.RANGE

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The code comments for SubtaskStateMapper.RANGE are as follows:

       * <p>Example:<br>
       * old assignment: 0 -> [0;43); 1 -> [43;87); 2 -> [87;128)<br>
       * new assignment: 0 -> [0;64]; 1 -> [64;128)<br>
       * subtask 0 recovers data from old subtask 0 + 1 and subtask 1 recovers data from old subtask 0
       * + 2

      The correct code comment should be:

       

       * <p>Example:<br>
       * old assignment: 0 -> [0;43); 1 -> [43;87); 2 -> [87;128)<br>
       * new assignment: 0 -> [0;64]; 1 -> [64;128)<br>
       * subtask 0 recovers data from old subtask 0 + 1 and subtask 1 recovers data from old subtask 1
       * + 2

      subtask 1 should recovers data from old subtask 1 + 2,not from old subtask 0 + 2

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ruanshubin Shubin Ruan
            ruanshubin Shubin Ruan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment