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

Hit ConcurrentModificationException in doWaitTransfer which happens very offen

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-incubating
    • 4.1.0-incubating
    • rocketmq-store
    • 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

            yukon Xinyu Zhou
            easonchen Eason Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment