-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Running the following command leads to an error:
mongodump -d myDB -c data -q "{'timestampStart':{\$gte: ISODate('2013-09-01T12:00:00Z'),\$lte: ISODate('2013-09-01T12:01:00Z')}}" -o tmp assertion: 16619 code FailedToParse: FailedToParse: Bad characters in value: offset:24
Also if I escape the command this way it failes:
mongodump -d datamanagement -c data -q '{timestampStart: {$gte: ISODate("2013-09-01T12:00:00Z"),$lte: ISODate("2013-09-01T12:01:00Z")}}' -o tmp assertion: 16619 code FailedToParse: FailedToParse: Bad characters in value: offset:23
And it seems I'm not the only one having these problems see http://stackoverflow.com/questions/19805738/mongodump-range-query-on-timestamp-filed-raising-failedtoparser-error
Also there is another Bug (SERVER-11721) which documents this bug. But sadly no solution was provided.
- related to
-
SERVER-14435 Mongodump gives Segmentation Fault
- Closed