Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1129

libcouchbase SDK does not guarantee metadata delivery when query times out

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.10.5
    • 2.10.6
    • library
    • None
    • 1

    Description

      When query times out, the libcouchbase SDK returns immediately with a timeout flag, without waiting for the query to respond.
      With this change - http://review.couchbase.org/#/c/118110/ , the libcoucbhase SDK waits for a grace time period for the response from query before returning from lcb_wait. However, this waiting for this grace time does not guarantee that metadata will be delivered.

      Attachments

        Issue Links

          For Gerrit Dashboard: CCBC-1129
          # Subject Branch Project Status CR V

          Activity

            Have you tried large grace periods that exceed the time necessary for the server to transmit data back? We cannot guarantee metadata if we generate SDK-level timeout interruption.

            avsej Sergey Avseyev added a comment - Have you tried large grace periods that exceed the time necessary for the server to transmit data back? We cannot guarantee metadata if we generate SDK-level timeout interruption.

            I've uploaded patch with the fix here http://review.couchbase.org/c/120462/

            avsej Sergey Avseyev added a comment - I've uploaded patch with the fix here http://review.couchbase.org/c/120462/

            Build couchbase-server-7.0.0-1207 contains libcouchbase commit 0fb388d with commit message:
            CCBC-1129: fix algorithm to match retry marker strings

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1207 contains libcouchbase commit 0fb388d with commit message: CCBC-1129 : fix algorithm to match retry marker strings

            Build couchbase-server-7.0.0-1207 contains libcouchbase commit 4611c17 with commit message:
            CCBC-1129: update timeout with grace period

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1207 contains libcouchbase commit 4611c17 with commit message: CCBC-1129 : update timeout with grace period

            Build couchbase-server-6.5.1-6211 contains libcouchbase commit 0fb388d with commit message:
            CCBC-1129: fix algorithm to match retry marker strings

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.1-6211 contains libcouchbase commit 0fb388d with commit message: CCBC-1129 : fix algorithm to match retry marker strings

            Build couchbase-server-6.5.1-6211 contains libcouchbase commit 4611c17 with commit message:
            CCBC-1129: update timeout with grace period

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.1-6211 contains libcouchbase commit 4611c17 with commit message: CCBC-1129 : update timeout with grace period

            Build couchbase-server-1006.5.1-1125 contains libcouchbase commit 0fb388d with commit message:
            CCBC-1129: fix algorithm to match retry marker strings

            build-team Couchbase Build Team added a comment - Build couchbase-server-1006.5.1-1125 contains libcouchbase commit 0fb388d with commit message: CCBC-1129 : fix algorithm to match retry marker strings

            Build couchbase-server-1006.5.1-1125 contains libcouchbase commit 4611c17 with commit message:
            CCBC-1129: update timeout with grace period

            build-team Couchbase Build Team added a comment - Build couchbase-server-1006.5.1-1125 contains libcouchbase commit 4611c17 with commit message: CCBC-1129 : update timeout with grace period

            People

              avsej Sergey Avseyev
              Gautham.Banasandra Gautham Banasandra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty