You can.. but always backup your data first...
It would be better to runt it on another copy. PrintData will have its own sizes and it won't respect what's on the configs.
Thank you for your reply.
OK, Now we use PrintData and PrintPages after backup.
PrintData will have its own sizes and it won't respect what's on the configs.
I saw the source code of JournalImpl#load(final LoaderCallback loadManager, final boolean changeData). If changeData is true, the journal file with no data is added to filesRepository as the free file. But if false, it just ignore. And new file is created by JournalFilesRepository#ensureMinFiles() because there is no file in JournalFilesRepository#freeFiles.
At HornetQ2.2.2Final, the journal file with no data was always added to filesRepository. Those behavior had changed by HornetQ-714. I made the patch that add the code of HornetQ2.2.2Final to HornetQ2.2.5(Tech Preview). PrintData and PrintPages are very useful to confirm the data of journal. We want to use PrintData and PrintPages without the side effect if possible.