Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8195

Transaction fails to commit when a node crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.1.1.Final
    • 9.1.0.Final
    • Core, Transactions
    • None

    Description

      Nodes ABC, key is owned by BC:
      1. C prepares a transaction modifying only one key [BC], prepare succeeds on both
      2. B crashes
      3. C tries to send CommitCommand to B and gets CacheNotFoundResponse
      4. C throws OTE, which gets handled by STI and retried
      5. A becomes an owner of key in the next topology
      6. C sends CommitCommand to all owners, including A
      7. A does not find the transaction prepared and throws IllegalStateException: Remote transaction not found: GlobalTx:test-NodeC-45028:1
      8. C fails the transaction because of the IllegalStateException

      Usually A should request transactions during state transfer, but the CommitCommand is sent in the first topology with higher id - in this case it's the "Hey we've lost B!" topology which does not start rebalance yet.

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei (Inactive)
              rvansa1@redhat.com Radim Vansa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: