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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: library
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      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

          Hide
          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
          )

          Show
          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 )
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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

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