Uploaded image for project: 'Distributed Transactions C++'
  1. Distributed Transactions C++
  2. TXNCXX-248

Check that the library does not enforce timeout for KV ops unless user overrides it

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • 3
    • SDK26: KV,ES8, Known Issues, SDK35, SDK37

    Description

      {
        "client_context_id": "42a107b7-76e7-4b0c-35c7-bc6c527ca046",
        "durability_level": "PERSIST_TO_MAJORITY",
        "numatrs": 1024,
        "scan_consistency": "request_plus",
        "statement": "BEGIN WORK",
        "timeout": "24429ms",
        "txdata": {
          "atr": {
            "bkt": "default",
            "coll": "_default",
            "id": "_txn:atr-961-#19c",
            "scp": "_default"
          },
          "config": {
            "durabilityLevel": "PERSIST_TO_MAJORITY",
            "kvTimeoutMs": 2500,
            "numAtrs": 1024
          },
          "id": {
            "atmpt": "bd979606-c0e0-4d9f-7aa0-5041c461bf9d",
            "txn": "ec4cb172-c0c7-4a11-a206-564293a3dd07"
          },
          "mutations": [
            {
              "bkt": "default",
              "cas": "1650622029037240320",
              "coll": "_default",
              "id": "33aa73709d4f0224e15a9fec1c23dc47_2",
              "scp": "_default",
              "type": "INSERT"
            }
          ],
          "state": {
            "timeLeftMs": 14929
          }
        },
        "txtimeout": "14929ms"
      }
      

      In fact the code sample does not override timeouts anywhere (see TXNCXX-247)

      Attachments

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

        Activity

          People

            david.kelly David Kelly (Inactive)
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty