-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.4
-
Component/s: Querying
-
None
-
ALL
-
I have several collections in db. Mongo uses WiredTiger engine.
I removed all records in "swipes" collection (all at once).
then tried to run db.swipes.count() and it returned -1.
https://dl.dropboxusercontent.com/u/1875424/1_count_returns_minus_1.png
Then I made dump of swipes collection on remote server:
https://dl.dropboxusercontent.com/u/1875424/2_dump_buggy_collection.png
Downloaded, unpacked and tried to restore that collection on local machine:
https://dl.dropboxusercontent.com/u/1875424/3_attemt_to_restore.png
On remote and local machines I use Mongo 3.2.4.
- duplicates
-
SERVER-23124 db.collection.count() returns -1
- Closed