Uploaded image for project: 'Apache Gearpump'
  1. Apache Gearpump
  2. GEARPUMP-286

Different WindowAndGroups could end up in one due to hashCode collision

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2
    • 0.8.3
    • streaming
    • None

    Description

      Currently, we use a TreeMap to store and sort WindowAndGroup, which requires WindowAndGroup to be Comparable. However, Group is not and not supposed to be so I hacked with its hashCode for comparison. That is wrong since two Group could have identical hashCode.

      Attachments

        Issue Links

          Activity

            People

              mauzhang Manu Zhang
              mauzhang Manu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: