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