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
    • Resolution: Duplicate
    • Major
    • 3.0.1
    • 3.0.0-beta.4
    • 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

            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