River
  1. River
  2. RIVER-33

Mahalo implementation doesn't abort transaction after a participant joins with an inconsistent crash count as specifiec

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: jtsk_2.1
    • Fix Version/s: None
    • Component/s: com_sun_jini_mahalo
    • Labels:
      None

      Description

      Excerpt from mailing list message:

      I'm implementing durable transaction participation as part of Seven and due to my reading of the spec I have a question related to TX.2.3
      "Joining a Transaction". It states in the 4th paragraph "When a manager receives a join request, it checks to see if the participant has already
      joined the transaction. If it has, and the crash count is the same as the one specified in the original join, the join is accepted but is
      otherwise ignored. If the crash count is different, the manager throws CrashCountException and forces the transaction to abort."

      However when I look into the code of Mahalo I can see when rejoining a transaction with a different crash count that CrashCountException is
      thrown, but I can't see where Mahalo forces the transaction to abort, which based on my interpretation of the spec seems to be required. Is my
      interpretation wrong or is there a bug in Mahalo (or the code I seem to miss).

      Seems to be a bug.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Resendes
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development