Uploaded image for project: 'Distributed Transactions .NET'
  1. Distributed Transactions .NET
  2. TXNN-19

Xattr txn not cleaned up after commit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • None
    • None
    • None
    • 1

    Description

      The FIT performer fails on insert and commit because I think the txn code does not clean up the "txn" xattr content after commit. Compare the same run for java (end result):

      {
        "meta": {
          "id": "1a5f2878-62ae-48ed-a740-c504c713537b",
          "rev": "1-163802e55aad00000000000002000000",
          "expiration": 0,
          "flags": 33554432,
          "type": "json"
        },
        "xattrs": {}
      }
      

      to .net

      {
        "meta": {
          "id": "4ed53014-c3e6-440b-9e5e-b45e8c9ed356",
          "rev": "2-163802d7288f00000000000002000001",
          "expiration": 0,
          "flags": 33554433,
          "type": "json"
        },
        "xattrs": {
          "txn": {
            "id": {
              "txn": "3081526d-7d19-4bbb-8689-026cdfd9a5a5",
              "atmpt": "cc18cd3d-b8bd-4147-89d7-d2404deaa979"
            },
            "atr": {
              "id": "_txn:atr-607-#1ce",
              "bkt": "default",
              "coll": "_default._default"
            },
            "op": {
              "type": "insert",
              "stgd": "eyJjb250ZW50IjoiZGVmYXVsdCJ9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
            }
          }
        }
      }
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              richard.ponton Richard Ponton
              daschl Michael Nitschinger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty