Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-2023

Timeout issue with KV RangeScan

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • 0

    Description

      Hi

      Doing some parameter testing for RangeScan against an 8.0 server build. 

      Tried running a standard RangeScan with the parameter being tested being the timeout KV Scan Timeout. In the first test I set it to 0 expecting it to return an error saying this is not a valid entry but instead received:

      14:55:38.169 ERROR Streamer 089f35cb-adaa-41d2-a9b5-1db7844aa4d2 died with com.couchbase.client.core.error.UnambiguousTimeoutException: RangeScan timed out {"itemsStreamed":0} 

      Looking at the RFC this edge case isn't specifically called out but it made sense to me that an error would be raised when trying to call with a 0 timeout rather than an error being returned on the Stream. So this ticket is either to cover that bug or to cover the change to the RFC.

      Thanks

      Attachments

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

        Activity

          People

            david.nault David Nault
            matthew.bray Matthew Bray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty