Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2388

Ensure that prepared statements that are previously created are not retried

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0-beta.4
    • 3.0.1
    • library
    • None
    • 1

    Description

      "XXX is using named prepared statements instead of adhoc=false. This way they can better manage the lifecycle of the prepareds and reference by name, etc. They have logic build into the application that will attempt to execute the prepared (i.e. EXECUTE name_of_prepared) and catch a prepared not found exception, prepare the query and then reexecute.

      This is safety logic that is in place in the application, as externally they have a script that automatically attempts to prepare everyone of their queries whenever they do a build.

      However, retries make for a long delay as the queries timeout instead of immediately returning with a failed prepared query status/error."

      Attachments

        Issue Links

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

          Activity

            jmorris Jeff Morris created issue -
            jmorris Jeff Morris made changes -
            Field Original Value New Value
            Status New [ 10003 ] Open [ 1 ]
            ingenthr Matt Ingenthron made changes -
            Assignee Jeff Morris [ jmorris ] Michael Nitschinger [ daschl ]
            ingenthr Matt Ingenthron made changes -
            Rank Ranked higher
            ingenthr Matt Ingenthron made changes -
            Rank Ranked lower
            ingenthr Matt Ingenthron made changes -
            Rank Ranked higher
            ingenthr Matt Ingenthron made changes -
            Fix Version/s 3.0.1 [ 16701 ]
            Fix Version/s 3.0.0 [ 16606 ]
            jmorris Jeff Morris made changes -
            Assignee Michael Nitschinger [ daschl ] Jeff Morris [ jmorris ]
            brett19 Brett Lawson made changes -
            Story Points 1
            jmorris Jeff Morris made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jmorris Jeff Morris made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            jmorris Jeff Morris made changes -
            Link This issue relates to NCBC-2451 [ NCBC-2451 ]
            jmorris Jeff Morris made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jmorris Jeff Morris made changes -
            Resolution Duplicate [ 3 ]
            Status In Progress [ 3 ] Resolved [ 5 ]

            People

              jmorris Jeff Morris
              jmorris Jeff Morris
              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