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

JSON REST APIs return LCB_SUCCESS with corrupt data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.6, 2.5.0, 2.6.2
    • Fix Version/s: 2.6.3
    • Component/s: library
    • Labels:
      None

      Description

      When performing N1QL/FTS, some case causes libcouchbase to indicate LCB_SUCCESS, but the meta-data returned is corrupted and not actually parseable as JSON. Originally it was thought that this could be a bug in the Node.js SDK, but the fact that libcouchbase has to parse the response to find the meta, but then returns LCB_SUCCESS with corrupt JSON indicates this is likely not the case.

        Attachments

          Issue Links

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

            Activity

            Hide
            mnunberg Mark Nunberg (Inactive) added a comment -

            This is caused when the response meets two conditions:

            1. The response has no rows
            2. The response is delivered in multiple parts

            This indeed affects N1QL, views, and FTS

            Show
            mnunberg Mark Nunberg (Inactive) added a comment - This is caused when the response meets two conditions: 1. The response has no rows 2. The response is delivered in multiple parts This indeed affects N1QL, views, and FTS

              People

              • Assignee:
                mnunberg Mark Nunberg (Inactive)
                Reporter:
                brett19 Brett Lawson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.