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

Operation dispatch should be permitted before connect completes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • library
    • 1

    Description

      Currently, it is not possible to submit an operation to libcouchbase before the lcb_connect completes. This causes an issue with the higher level SDKs where we need to queue operations on our side, but we lose on the ability to easily track the timeout throughout the entire lifetime of the operation and we also loose all the context of why that operation failed (there are intended to be retry reasons and other context associated with operations that fail due to connecting not working).

      Attachments

        Issue Links

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

          Activity

            brett19 Brett Lawson created issue -
            brett19 Brett Lawson made changes -
            Field Original Value New Value
            Link This issue blocks JSCBC-706 [ JSCBC-706 ]
            brett19 Brett Lawson made changes -
            Description Currently, it is not possible to submit an operation to libcouchbase before the lcb_connect completes. This causes an issue with the higher level SDKs where we need to queue operations on our side, but we loose on the ability to easily track the timeout throughout the entire lifetime of the operation and we also loose all the context of why that operation failed (there are intended to be retry reasons and other context associated with operations that fail due to connecting not working). Currently, it is not possible to submit an operation to libcouchbase before the lcb_connect completes. This causes an issue with the higher level SDKs where we need to queue operations on our side, but we lose on the ability to easily track the timeout throughout the entire lifetime of the operation and we also loose all the context of why that operation failed (there are intended to be retry reasons and other context associated with operations that fail due to connecting not working).
            avsej Sergey Avseyev made changes -
            Fix Version/s 3.1.2 [ 17456 ]
            avsej Sergey Avseyev made changes -
            Status New [ 10003 ] Open [ 1 ]
            avsej Sergey Avseyev made changes -
            Fix Version/s 3.2.0 [ 17008 ]
            Fix Version/s 3.1.2 [ 17456 ]
            avsej Sergey Avseyev made changes -
            Link This issue blocks CCBC-1288 [ CCBC-1288 ]
            lynn.straus Lynn Straus made changes -
            Labels must-fix-cc
            avsej Sergey Avseyev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            avsej Sergey Avseyev made changes -
            Link This issue depends on CCBC-1404 [ CCBC-1404 ]

            The ticket still in progress at the moment

            avsej Sergey Avseyev added a comment - The ticket still in progress at the moment
            avsej Sergey Avseyev made changes -
            Link This issue is duplicated by CCBC-1409 [ CCBC-1409 ]
            avsej Sergey Avseyev made changes -
            Link This issue is duplicated by CCBC-1409 [ CCBC-1409 ]

            Brett Lawson, with last two patches, I think this ticket it ready for integration with couchnode to fix JSCBC-706. Could you try and leave your feedback?

            avsej Sergey Avseyev added a comment - Brett Lawson , with last two patches, I think this ticket it ready for integration with couchnode to fix JSCBC-706 . Could you try and leave your feedback?

            Closing this to signal that JSCBC-706 is not blocked. Brett Lawson, please re-open if you find anything during integration.

            avsej Sergey Avseyev added a comment - Closing this to signal that JSCBC-706 is not blocked. Brett Lawson , please re-open if you find anything during integration.
            avsej Sergey Avseyev made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]

            Nice work on this Sergey Avseyev, I know this was a lot of work but our users will surely appreciate it.

            ingenthr Matt Ingenthron added a comment - Nice work on this Sergey Avseyev , I know this was a lot of work but our users will surely appreciate it.
            brett19 Brett Lawson made changes -
            Link This issue relates to CCBC-1288 [ CCBC-1288 ]

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3de876b with commit message:
            CCBC-1384: allow deferring view operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3de876b with commit message: CCBC-1384 : allow deferring view operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 28a388d with commit message:
            CCBC-1384: allow deferring analytics operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 28a388d with commit message: CCBC-1384 : allow deferring analytics operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 6e43bcd with commit message:
            CCBC-1384: allow deferring search operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 6e43bcd with commit message: CCBC-1384 : allow deferring search operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 9eb9899 with commit message:
            CCBC-1384: allow deferring query operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 9eb9899 with commit message: CCBC-1384 : allow deferring query operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit b3f9e5e with commit message:
            CCBC-1384: update parser for golang duration

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit b3f9e5e with commit message: CCBC-1384 : update parser for golang duration

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 01d49c6 with commit message:
            CCBC-1384: fix build with dtrace/stap

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 01d49c6 with commit message: CCBC-1384 : fix build with dtrace/stap

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 7c455a3 with commit message:
            CCBC-1384: allow deferring subdoc operations

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 7c455a3 with commit message: CCBC-1384 : allow deferring subdoc operations

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3280c1b with commit message:
            CCBC-1384: allow deferring store operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3280c1b with commit message: CCBC-1384 : allow deferring store operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 16fc49e with commit message:
            CCBC-1384: allow deferring touch operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 16fc49e with commit message: CCBC-1384 : allow deferring touch operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 23cc524 with commit message:
            CCBC-1384: allow deferring remove operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 23cc524 with commit message: CCBC-1384 : allow deferring remove operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit ee9f024 with commit message:
            CCBC-1384: allow deferring get_replica operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit ee9f024 with commit message: CCBC-1384 : allow deferring get_replica operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 40ad81d with commit message:
            CCBC-1384: allow deferring unlock operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 40ad81d with commit message: CCBC-1384 : allow deferring unlock operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3614640 with commit message:
            CCBC-1384: allow deferring get operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3614640 with commit message: CCBC-1384 : allow deferring get operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3bdefac with commit message:
            CCBC-1384: allow deferring exists operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3bdefac with commit message: CCBC-1384 : allow deferring exists operation

            Build couchbase-server-7.1.0-1450 contains libcouchbase commit 4f2a7ac with commit message:
            CCBC-1384: refactor counter and allow deferring the operation

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 4f2a7ac with commit message: CCBC-1384 : refactor counter and allow deferring the operation

            People

              avsej Sergey Avseyev
              brett19 Brett Lawson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty