Description of problem: If the system created an empty file on paging the flow of messages would be interrupted. Version-Release number of selected component (if applicable): 2.3.0 How reproducible: Always Steps to Reproduce: 1. Create a few empty files before the first number available on any page folder. Example: Say you have these two files 000025.PAGE 000026.PAGE Create 000024.PAGE and 000023.PAGE empty 2. Restart the server 3. Try to consume messages Actual results: No messages are returned Expected results: The messages should still arrive Additional info: Work around: remove the empty files before restart.
PR sent: https://github.com/hornetq/hornetq/pull/1240
Tested with ER4/2.3.8.Final