Issue Details (XML | Word | Printable)

Key: XADISK-89
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nitin Verma
Reporter: Nitin Verma
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

In inbound eventing of XADisk, the numbering scheme of deadletter files depends on number of existing deadletter files.

Created: 24/Sep/11 03:12 PM   Updated: 14/May/12 07:27 PM   Resolved: 01/Oct/11 01:47 PM
Component/s: connector
Affects Version/s: 1.1
Fix Version/s: 1.2

Time Tracking:
Not Specified

Participants: Nitin Verma

 Description  « Hide

When an XADisk instance is booted, it create a new deadletter file and the numbering scheme used to name this file depends upon the number of existing deadletter files. So, new deadletter file name = "letter_" + #files + 1. It is a bug because the chosen file-name may already exist (say someone processed a few deadletters and deleted them) and there is no exception handling for this case.

The new approach for naming this deadletter (during booting) would be to find the maximum number in the existing deadletters' names, and then increment that by one.

Nitin Verma added a comment - 01/Oct/11 01:47 PM

Checked-in the changes to trunk.