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

HELO version string seems incorrect

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.3
    • Component/s: library
    • Labels:
      None

      Description

      The SDK HELO version seems incorrect.

      Steps to reproduce:

      1. Spin up a one node cluster with the default bucket
      2. Use the following Go code

        package main
         
        import (
            "fmt"
            "gopkg.in/couchbase/gocb.v1"
        )
         
        type User struct {
            Id string `json:"uid"`
            Email string `json:"email"`
            Interests []string `json:"interests"`
        }
         
        func main() {
                gocb.SetLogger(gocb.DefaultStdioLogger())
                cluster, _ := gocb.Connect("couchbase://localhost")
                bucket, _ := cluster.OpenBucket("default", "")
                bucket.Upsert("u:kingarthur",
                        User{
                                Id: "kingarthur",
                                Email: "kingarthur@couchbase.com",
                                Interests: []string{"Holy Grail", "African Swallows"},
                        }, 0)
                var inUser User
                bucket.Get("u:kingarthur", &inUser)
                fmt.Printf("User: %v\n", inUser)
        }
        

      3. build and execute
      4. Tail the memcached.log:

        2017-11-10T18:26:58.200201Z NOTICE 43: HELO [gocb/v7.0.5] [ 10.111.163.1:64882 - 10.111.163.101:11207 ]                                                                             
        2017-11-10T18:26:58.205011Z WARNING 43 Closing connection [ 10.111.163.1:64882 - 10.111.163.101:11207 ] due to read error: Connection reset by peer     
        

      As you can see the HELO version of the SDK is gocb/v7.0.5 I was expecting 1.30, as I believe that is the SDK version being used.

        Attachments

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.5.0-2114 contains gocb commit 77854e87edf350a2eedd1d29ad2998a1dc9b47da with commit message:
          GOCBC-248: Uniquely identify gocb version to the core.
          https://github.com/couchbase/gocb/commit/77854e87edf350a2eedd1d29ad2998a1dc9b47da

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.0-2114 contains gocb commit 77854e87edf350a2eedd1d29ad2998a1dc9b47da with commit message: GOCBC-248 : Uniquely identify gocb version to the core. https://github.com/couchbase/gocb/commit/77854e87edf350a2eedd1d29ad2998a1dc9b47da
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-2.1.0-839 contains gocb commit 77854e87edf350a2eedd1d29ad2998a1dc9b47da with commit message:
          GOCBC-248: Uniquely identify gocb version to the core.
          https://github.com/couchbase/gocb/commit/77854e87edf350a2eedd1d29ad2998a1dc9b47da

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-2.1.0-839 contains gocb commit 77854e87edf350a2eedd1d29ad2998a1dc9b47da with commit message: GOCBC-248 : Uniquely identify gocb version to the core. https://github.com/couchbase/gocb/commit/77854e87edf350a2eedd1d29ad2998a1dc9b47da
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-2.1.0-839 contains gocbcore commit a4afac19160b9b2d88320210d07fd5c55f8c385d with commit message:
          GOCBC-248: Uniquely identify gocb version along with core version.
          https://github.com/couchbase/gocbcore/commit/a4afac19160b9b2d88320210d07fd5c55f8c385d

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-2.1.0-839 contains gocbcore commit a4afac19160b9b2d88320210d07fd5c55f8c385d with commit message: GOCBC-248 : Uniquely identify gocb version along with core version. https://github.com/couchbase/gocbcore/commit/a4afac19160b9b2d88320210d07fd5c55f8c385d
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.1.2-6014 contains gocb commit 77854e8 with commit message:
          GOCBC-248: Uniquely identify gocb version to the core.

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.1.2-6014 contains gocb commit 77854e8 with commit message: GOCBC-248 : Uniquely identify gocb version to the core.
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.1.1-5904 contains gocb commit 77854e8 with commit message:
          GOCBC-248: Uniquely identify gocb version to the core.

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.1.1-5904 contains gocb commit 77854e8 with commit message: GOCBC-248 : Uniquely identify gocb version to the core.

            People

            • Assignee:
              brett19 Brett Lawson
              Reporter:
              pvarley Patrick Varley
            • 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.