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

Index & Query ports in wrong order

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.6
    • 2.10.7, 3.0.3
    • None
    • None
    • 1

    Description

      In vbucket.c L 1173-1175 we format an infostr for error messages, however the order of the Index & Query port placeholders are reversed.

      This leads to error messages being displayed incorrectly.
      For example:

       [lcb,newconfig L:172 I:1582393460] Detected server host_fqdn:0(Data=0, Index=8093, Query=9101) added
      

      However 8093 is the Query HTTP port, and 9101 is the Index Scan port.

      The correct message would be:

       [lcb,newconfig L:172 I:1582393460] Detected server host_fqdn:0(Data=0, Index=9101, Query=8093) added
      

      Attachments

        For Gerrit Dashboard: CCBC-1258
        # Subject Branch Project Status CR V

        Activity

          tim.bradgate Tim Bradgate added a comment -

          Note, this is also the same on the master branch (which I think is now SDK 3?)

          tim.bradgate Tim Bradgate added a comment - Note, this is also the same on the master branch (which I think is now SDK 3?)

          Nice find, should be a quick fix.

          ingenthr Matt Ingenthron added a comment - Nice find, should be a quick fix.

          Thanks for report, I've fixed it on both branches

          avsej Sergey Avseyev added a comment - Thanks for report, I've fixed it on both branches

          Build couchbase-server-7.0.0-2361 contains libcouchbase commit 6e80e63 with commit message:
          CCBC-1258: fix port order in vbucket diff info message

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2361 contains libcouchbase commit 6e80e63 with commit message: CCBC-1258 : fix port order in vbucket diff info message

          Build couchbase-server-7.0.0-3115 contains libcouchbase commit f626165 with commit message:
          CCBC-1258: fix port order in vbucket diff info message

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3115 contains libcouchbase commit f626165 with commit message: CCBC-1258 : fix port order in vbucket diff info message

          People

            avsej Sergey Avseyev
            phil.stott Phil Stott (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty