Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5553

Inifinite loop on replicated LevelDB during new Master election

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 5.10.0, 5.11.0
    • None
    • LevelDB
    • Ubuntu 14.04 64bit
      LevelDb jni 64bit

      3 ActiveMq Instances
      3 ZooKeeper Instances

    Description

      It seems this issue AMQ-5300 or something that looks very similar is not fixed as I have been able to replicated on Replicated Level DB and the lastest 5.11 snapshot. The levelDB corrupts even at the point that every time I kill current master the next slave to take the position starts doing the infinite loop. The only way to fix this is to delete the leveldb data from all ActiveMQ instances which obviously lets me without messages. I find this issue to be quite critical as it occurs even on graceful shut downs of ActiveMQ.

      I have a attached a copy of the logs and my levelDB directory. (If all messages on the Queue look the same is because they are, for testing purposes i send the same message over and over)

      https://drive.google.com/file/d/0B6ANh1aTzRg3S2Q2SVRUY0ZhT0k/view?usp=sharing

      <replicatedLevelDB directory="${mailSystem.activeMQ.rebDB}" 
      replicas="3"
      sync="local_mem"
      logSize="25413000"
      indexCompression="none"
      zkAddress="lstkmy90430:2181,lstkmy36606:2181,lstkmy52108:2181"
      zkPath="/activemq/leveldb-stores"
      />
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Altaflux Pablo Lozano
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: