-
Type:
Improvement
-
Status: Closed
-
Priority:
Major - P3
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 1.0.0
-
Component/s: Perl driver
-
Labels:None
-
Epic Link:
-
Story Points:0
-
Sprint:Perl Sprint 17
The current implementation of Cursor::count does not allow to distinguish a 0 result from an error.
In our case, the query coincided with a chunk move. The return document contained "ok" : 0, and a string for "errmsg". run_command returns the errormsg string. This in turn causes count to return 0.
- depends on
-
PERL-188 Rationalize error handling
-
- Closed
-