michael kelly created AMQ-5496:
----------------------------------

             Summary: leveldb becomes corrupt after vmware ha migration with 
power off on physical machine
                 Key: AMQ-5496
                 URL: https://issues.apache.org/jira/browse/AMQ-5496
             Project: ActiveMQ
          Issue Type: Bug
          Components: activemq-leveldb-store
    Affects Versions: 5.9.1, 5.9.0
         Environment: red hat linux, vmware , two physical hp sl210 machines, 
vmware ha, iscsi remote disk storage. when a virtual machine with activemq is 
migrated from one physical machine to another, operation is continous and no 
problem. if one physcial machine is powered off, the leveldb database becomes 
corrupt on restart. the files CURRENT are not populated with newest manifest 
number. Doing this manually did not fix
            Reporter: michael kelly


les can connect to service:jmx:rmi:///jndi/rmi://localhost:1090/jmxrmi
2014-12-19T16:10:07.687+0100 INFO [main] o.a.a.l.LevelDBClient [Log.scala:93] 
Using the pure java LevelDB implementation.
2014-12-19T16:10:08.044+0100 INFO [LevelDB IOException handler.] 
o.a.a.b.BrokerService [BrokerService.java:2561] No IOExceptionHandler 
registered, ignoring IO exception
java.io.IOException: CURRENT file does not end with newline
        at 
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:39) 
~[activemq-client-5.9.1.jar:5.9.1]
        at 
org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:552) 
~[activemq-leveldb-store-5.9.1.jar:5.9.1]
        at 
org.apache.activemq.leveldb.LevelDBClient.replay_init(LevelDBClient.scala:657) 
~[activemq-leveldb-store-5.9.1.jar:5.9.1]
        at 
org.apache.activemq.leveldb.LevelDBClient.start(LevelDBClient.scala:558) 
~[activemq-leveldb-store-5.9.1.jar:5.9.1]
        at org.apache.activemq.leveldb.DBManager.start(DBManager.scala:626) 
~[activemq-leveldb-store-5.9.1.jar:5.9.1]
        at 
org.apache.activemq.leveldb.LevelDBStore.doStart(LevelDBStore.scala:236) 
~[activemq-leveldb-store-5.9.1.jar:5.9.1]
        at 
org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55) 
~[activemq-client-



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to