2 Replies Latest reply on Sep 1, 2011 12:07 AM by Hachiyanagi Mikitaro

    Journal file increases after executing PrintData or PrintPages

    Hachiyanagi Mikitaro Newbie

      We are using JBossEAP5.1.1 and HornetQ2.2.5(Tech Preview). We found the behavior that the journal file increases after executing PrintData or PrintPages. It did not occur on PrintData of HornetQ2.2.2Final.

       

       

      Here are steps I have done:

      1) There are no journal file in hornetq data directory.

      2) Starts the HornetQ --> 10 journal files is created(hornetq-data-1.hq - hornetq-data-10.hq)

      3) Executes the PrintData or PrintPages.

           PrintData: java -cp $JBOSS_HOME/common/lib/hornetq-core.jar:$JBOSS_HOME/common/lib/netty.jar org.hornetq.core.persistence.impl.journal.PrintData <bindings directory> <journal directory>

           PrintPages: java -cp $JBOSS_HOME/common/lib/hornetq-core.jar:$JBOSS_HOME/common/lib/netty.jar org.hornetq.core.paging.PrintPages <paging directory> <journal directory>

       

      The number of journal file is 12 after 3). 2 files(hornetq-data-11.hq, hornetq-data-12.hq) was increased. And 2 further files increase if 3) repeat.

      JournalImpl#load(final LoaderCallback loadManager, final boolean changeData) had changed from HornetQ2.2.5Final. And journal file was increased after processing this method.

       

      Could we use PrintData and PrintPages on HornetQ2.2.5(Tech Preview)?

       

      Thanks,

      Mikitaro Hachiyanagi