Uploaded image for project: 'Scala Couchbase Client'
  1. Scala Couchbase Client
  2. SCBC-68

Add query service fast prepare support

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.0.0-alpha.7
    • None
    • None
    • None
    • 1
    • SDK34: Verify,Retry,DSv2

    Description

      As an update to sdk-rfc #38, add the improvement relating to fast prepare.

      From the email sent out on this:

      Long promised, finally here – the (hopefully) final update to the enhanced prepared statements RFC.

      The RFC has been updated, please re-read this chapter: https://docs.google.com/document/d/1JhprmvL2HwHzkg7GxouGJc67eAvKFJekgyOG23T8mVU/edit#heading=h.jyt1um891uu

      It covers the new fast-prepare support, you can find more about it here too: https://docs.google.com/document/d/11w93jq_a6sAYqcJG5roIKAYm7WGTBD-obr9hqQTe9Ck/edit

      TL;DR:

      Prepare and execute are replaced with a single operation, which works as described in the document
      This helps us to cut down to a single operation even in the case where the cache is not primed with the given statement

      The java implementation for reference can be found in this gerrit change: http://review.couchbase.org/#/c/113494/

      Thanks,
      Michael

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty