Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-773

RowStreamer always looks for end of rows on close

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • library
    • None
    • 1
    • SDK5: Docs, Pathfind Antorized

    Description

      When end is called on rowstreamer is always looks for a ], and errors if there isn't one present. It's possible for queries (such as mutations) to perform successfully and not return any rows in the body.

      Attachments

        For Gerrit Dashboard: GOCBC-773
        # Subject Branch Project Status CR V

        Activity

          Pretty sure this is down to:

          const (
          rowStreamStateStart rowStreamState = 0
          rowStreamStateRows rowStreamState = 1
          rowStreamStatePostRows rowStreamState = 2
          rowStreamStateEnd rowStreamState = 2
          )

          charles.dixon Charles Dixon added a comment - Pretty sure this is down to: const ( rowStreamStateStart rowStreamState = 0 rowStreamStateRows rowStreamState = 1 rowStreamStatePostRows rowStreamState = 2 rowStreamStateEnd rowStreamState = 2 )

          Build couchbase-server-7.0.0-1306 contains gocbcore commit 4664a13 with commit message:
          GOCBC-773: Fix rowStreamStateEnd constant value

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1306 contains gocbcore commit 4664a13 with commit message: GOCBC-773 : Fix rowStreamStateEnd constant value

          Build couchbase-server-6.6.0-7624 contains gocbcore commit 4664a13 with commit message:
          GOCBC-773: Fix rowStreamStateEnd constant value

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7624 contains gocbcore commit 4664a13 with commit message: GOCBC-773 : Fix rowStreamStateEnd constant value

          Build sync_gateway-3.0.0-52 contains gocbcore commit 4664a13 with commit message:
          GOCBC-773: Fix rowStreamStateEnd constant value

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocbcore commit 4664a13 with commit message: GOCBC-773 : Fix rowStreamStateEnd constant value

          People

            charles.dixon Charles Dixon
            charles.dixon Charles Dixon
            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