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

Wrong exception type returned by the performer when a collection is made with history retention on an unsupported server version

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0-dp.12
    • None
    • fit
    • None
    • 1
    • SDK02: V.Search, maxTTL=-1

    Description

      In the test createCollectionWithHistoryRetentionOnClusterThatDoesNotSupportIt in the file CollectionManagerTest. 

      The RFC states that a Feature not Available exception should be returned: https://github.com/couchbaselabs/sdk-rfcs/blob/master/rfc/0054-sdk3-management-apis.md#:~:text=capability%20of%20nonDedupedHistory-,If%20the%20bucket%20capability%20is%20not%20supported%20then%20a%20FeatureNotAvailableException%20must,that%20both%20server%207.2%2B%20and%20Magma%20storage%20engine%20must%20be%20used%22,-UpdateCollectionSettings

      In this test we are seeing the performer return Invalid Argument as with some other similar tests.

       

      Attachments

        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