Bug 1001331 - Paging interrupted if empty files are on the list
Summary: Paging interrupted if empty files are on the list
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER3
: EAP 6.2.0
Assignee: Clebert Suconic
QA Contact: Martin Svehla
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-26 22:18 UTC by Clebert Suconic
Modified: 2013-12-15 16:22 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:22:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.