Bug 1001331

Summary: Paging interrupted if empty files are on the list
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Clebert Suconic <csuconic>
Component: HornetQAssignee: Clebert Suconic <csuconic>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Svehla <msvehla>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: msvehla
Target Milestone: ER3   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:22:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Clebert Suconic 2013-08-26 22:18:05 UTC
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.

Comment 1 Clebert Suconic 2013-08-26 22:20:24 UTC
PR sent: https://github.com/hornetq/hornetq/pull/1240

Comment 3 Martin Svehla 2013-10-07 08:22:29 UTC
Tested with ER4/2.3.8.Final