Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-43089

Query Work Bench should support implicit transactions

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Cheshire-Cat
    • 7.0.0
    • UI
    • 1

    Description

      Splitting from MB-40206, since there are two aspects to transaction support. The first is supporting multiple statements in a transaction, which is already done.

      This issue relates to supporting a single statement (usually an UPDATE) as an implicit transaction. The UI is pretty cluttered as is, so we need to find some way to let the user say, "execute this next statement should be an implicit transaction".

      Attachments

        For Gerrit Dashboard: MB-43089
        # Subject Branch Project Status CR V

        Activity

          rob.ashcom Rob Ashcom added a comment - - edited

          Eben Haber  If you make a function that executes the query as an implicit transaction (like a hyperlink anywhere); I have a design pattern in mind where Execute Transaction / Explain / Advise are all collapsed into a "more..." menu (notionally, visually it could be a combo button, a hamburger icon, etc.). We can end up with more space rather than less. I can make that part.

          rob.ashcom Rob Ashcom added a comment - - edited Eben Haber   If you make a function that executes the query as an implicit transaction (like a hyperlink anywhere); I have a design pattern in mind where Execute Transaction / Explain / Advise are all collapsed into a "more..." menu (notionally, visually it could be a combo button, a hamburger icon, etc.). We can end up with more space rather than less. I can make that part.

          Build couchbase-server-7.0.0-4110 contains ns_server commit 747ed4a with commit message:
          MB-43089 Support QWB Adding Transactions

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4110 contains ns_server commit 747ed4a with commit message: MB-43089 Support QWB Adding Transactions

          Build couchbase-server-7.0.0-4111 contains ns_server commit 797fb0f with commit message:
          MB-43089 Support QWB transactions II

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4111 contains ns_server commit 797fb0f with commit message: MB-43089 Support QWB transactions II
          eben Eben Haber added a comment -

          See attached screen shots - the Execute button now has an expansion item next to it that exposes a "Run as Transaction" button which will run the query as an implicit transaction.

          eben Eben Haber added a comment - See attached screen shots - the Execute button now has an expansion item next to it that exposes a "Run as Transaction" button which will run the query as an implicit transaction.

          Build couchbase-server-7.0.0-4118 contains query-ui commit 1703812 with commit message:
          MB-43089 Enable Implicit Transactions in QWB

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4118 contains query-ui commit 1703812 with commit message: MB-43089 Enable Implicit Transactions in QWB

          People

            eben Eben Haber
            eben Eben Haber
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty