Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-424

Range Scan returns invalid argument exception when used on unsupported server version

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.0
    • None
    • fit
    • None

    Description

      In this test we attempt to do a range scan on a server that does not support it (e.g 6.6 or 7.0). The RFC states explicitly that this behaviour should return an SDK_FEATURE_NOT_AVAILABLE error.

      Per RFC:

      Feature not available
      If a user attempts a scan but the server does not support the KV Range Scan feature, the SDK must report a `FeatureNotAvailable` error.  

      However we are seeing the performer / sdk returning an invalid argument exception instead.

      Attachments

        Issue Links

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

          Activity

            People

              Dimitris.Christodoulou Dimitris Christodoulou
              matthew.bray Matthew Bray
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes