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

libcouchbase calling connect(2) on each spooled command

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.0.0beta3
    • None
    • library
    • Security Level: Public
    • None
    • Any..

    Description

      If the server is not connected, a large spool operation will call connect() many times. For one, this makes it difficult to debug, and performs a lot of un-necessary system calls..

      strace output and sample script attached

      Attachments

        1. lcb_connbug.c
          0.8 kB
        2. lcb_connbug.c
          0.8 kB
        3. st.log
          2 kB
        4. st.txt
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            mnunberg Mark Nunberg (Inactive)
            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