Bug 1348322 - [GSS](6.4.z) HornetQ Server should always remove old files beyond getMaxSavedReplicatedJournalsSize
Summary: [GSS](6.4.z) HornetQ Server should always remove old files beyond getMaxSaved...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ
Version: 6.4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR2
: EAP 6.4.10
Assignee: Peter Palaga
QA Contact: Erich Duda
URL:
Whiteboard:
: 1260477 (view as bug list)
Depends On:
Blocks: eap6410-payload 1344476 1348237
TreeView+ depends on / blocked
 
Reported: 2016-06-20 19:57 UTC by Clebert Suconic
Modified: 2024-12-20 18:41 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-17 13:00:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Article) 2490131 0 None None None 2016-08-09 14:42:54 UTC
Red Hat Knowledge Base (Solution) 2490131 0 None None None 2016-09-06 14:58:09 UTC

Description Clebert Suconic 2016-06-20 19:57:55 UTC
Description of problem:

There is a mixup on the semantics for getMaxSavedReplicatedJournalsSize.

When a dedicated backup is starting it will simply ignore the maxSavedReplicatedJournalSize and make a new copy.

When a failback happens the parameter is used and won't let the server start at all, leaving the user without a backup.

The server should remove old files beyond getMaxSavedReplicatedJournalsSize(). The semantic would be equalized through this change.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Restart a failback server in replication many times

Actual results:

The server won't be started

Expected results:

Old folders to be removed and a number of configurable backups to be left on the folder.

Comment 1 Peter Palaga 2016-06-23 10:37:08 UTC
Clebert, is it OK if I start working on this? I am asking because this is 100% your domain and I may need much longer to get things right than you or somebody else from the messaging team.

Comment 2 Peter Palaga 2016-06-24 07:30:05 UTC
Assigning to me which means in this case that I'll coordinate rather than actually fix.

Comment 15 Petr Penicka 2017-01-17 13:00:02 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.

Comment 16 Radovan STANCEL 2017-06-13 11:41:48 UTC
*** Bug 1260477 has been marked as a duplicate of this bug. ***


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