Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1282

Add support for determining if new attempt in existing transaction

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • .future
    • None
    • transactions
    • None
    • 1

    Description

      Currently, gocbcore and query do not know if they are initiating a new attempt in a new transaction, or a new attempt in an existing transaction.  This is by design - until now there has been no need to separate the two.

      For MB-50167, gocbcore needs to know if it's a new attempt in an existing transaction, so let's add this to the txdata sent at BEGIN WORK.  This will allow accurate stats tracking regarding new attempts vs new transactions.

      I guess query needs to add a separate N1QL parameter so that users trying to run transactions purely with N1QL statements can still send this information and get correct stats.  Pinging Kamini Jagtiani for awareness.

      Attachments

        Issue Links

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

          Activity

            People

              brett19 Brett Lawson
              graham.pople Graham Pople
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty