xadisk
  1. xadisk
  2. XADISK-89

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: connector
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        Nitin Verma added a comment -

        Checked-in the changes to trunk.

        Show
        Nitin Verma added a comment - Checked-in the changes to trunk.

          People

          • Assignee:
            Nitin Verma
            Reporter:
            Nitin Verma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: