Uploaded image for project: 'Java DCP Client'
  1. Java DCP Client
  2. JDCP-147

Client should read capabilities instead of sniffing server version

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • .future
    • None
    • None
    • 1

    Description

      custom builds of Couchbase Server sometimes return invalid version strings like 0.0.0. The DCP client does not behave well when connecting to such a server. Instead of using the version string to decide which features to enable, it should get the information from the `hello` or `select_bucket` responses.

      The client currently only issues a `hello` request if the server version is < 5.0.0. Trond points out that the `hello` command is present at least as far back as 4.0.0, so maybe we should unconditionally issue the hello request.

      Attachments

        Issue Links

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

          Activity

            People

              david.nault David Nault
              david.nault David Nault
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty