Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2461

Fix Concurrent Modification Exception in InMemorySystem

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      The returned value of InMeomoryManager#poll is a sublist of a mutable list. While iterating the sublist, if the original list is modified, ConcurrentModification exception will be thrown. We need to make a copy of the sublist and return the copy instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                YixingZhang Yixing Zhang
                Reporter:
                YixingZhang Yixing Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m