Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3305

Pickup latest range scan RFC changes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.4.2
    • None
    • None
    • 0
    • SDK49, SDK51

    Description

      Change Status
      • Relaxed the timeout specification to reflect the lowest common denominator behavior across SDKs: Must raise UnambiguousTimeout error if first item is not received before timeout expires, or some variation on that theme.
      Not Done
      • Clarified that batchSizeLimit and batchItemLimit are uint32.
      • Implementations that wish to expose the batch time limit parameter should use the name batchTimeLimit.
      • During a sampling scan, if a partition scan encounters an error, the partition scan reports completion instead of raising an error or retrying.
      • ScanTerm.exclusive defaults to false.
      • ScanTerm.term should be stored as a byte array, not a string. Users must be able to pass either a byte array, or a string which is converted to a byte array using UTF-8.
      • RangeScan.from defaults to ScanTerm::minimum()
      • Implementations should provide a helper method to create a RangeScan for a document ID prefix. Pseudocode:  
        Unknown macro: { {(from = prefix inclusive, to = prefix.toByteArray() + 0xff exclusive) }

        }

      • SamplingScan.seed defaults to a random number.
      • ScanOptions.withoutContent renamed to idsOnly.
      • ScanResult has a new accessor, idOnly; returns the value of idsOnly from the scan associated with the result.
      • SDK reports FeatureNotAvailable error if the server does not support KV range scan.

      Attachments

        Issue Links

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

          Activity

            People

              emilien.bevierre Emilien Bevierre
              emilien.bevierre Emilien Bevierre
              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