Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-145

Hit ConcurrentModificationException in doWaitTransfer which happens very offen

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-incubating
    • Fix Version/s: 4.1.0-incubating
    • Component/s: rocketmq-store
    • Labels:
      None

      Description

      we use master and slave , sync transfer and asyn flush, happens this very offen:
      2017-03-17 20:12:38 WARN GroupTransferService - GroupTransferService service has exception.
      java.util.ConcurrentModificationException: null
      at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901) ~[na:1.8.0_121]
      at java.util.ArrayList$Itr.next(ArrayList.java:851) ~[na:1.8.0_121]
      at org.apache.rocketmq.store.ha.HAService$GroupTransferService.doWaitTransfer(HAService.java:277) ~[rocketmq-store-4.0.0-incubating.jar:4.0.0-incubating]
      at org.apache.rocketmq.store.ha.HAService$GroupTransferService.run(HAService.java:301) ~[rocketmq-store-4.0.0-incubating.jar:4.0.0-incubating]
      at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]

        Attachments

          Activity

            People

            • Assignee:
              Yukon yukon
              Reporter:
              easonchen Eason Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: