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

Incorrect shift amount in OperatorCheckpointStats#hashCode()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      Here is related code:

          result = 31 * result + (int) (subTaskStats.length ^ (subTaskStats.length >>> 32));
      

      subTaskStats.length is an int.

      The shift amount is greater than 31 bits.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: