Data loss after update for engine wiredtiger

33 views
Skip to first unread message

Frederico Ferreira

unread,
May 9, 2016, 11:06:36 AM5/9/16
to mongodb-user
After upgrading the mongo to the engine WT saw that had differences in the total number of objects after update to the new storage engine wired Tiger in mongo 3.0, someone had this probelma? it's normal? Realemente hear loss of data with the exchange of the engine, because apparently this standard system.

Note: it was done mungodump and mongorestore base

Asya Kamsky

unread,
May 9, 2016, 3:46:49 PM5/9/16
to mongodb-user
Please note that "count" command in WiredTiger may not match the count of documents in the collection under some circumstances.   Have you tried checking with db.collection.find().itcount() - which actually counts the documents rather than using the short-cut count() based on metadata?

Asya


On Mon, May 9, 2016 at 7:47 AM, Frederico Ferreira <frederi...@gmail.com> wrote:
After upgrading the mongo to the engine WT saw that had differences in the total number of objects after update to the new storage engine wired Tiger in mongo 3.0, someone had this probelma? it's normal? Realemente hear loss of data with the exchange of the engine, because apparently this standard system.

Note: it was done mungodump and mongorestore base

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/77a1ca84-76af-4c57-ad2c-cbe22af82c12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Asya Kamsky
Lead Product Manager
MongoDB
Download MongoDB - mongodb.org/downloads
Free MongoDB Monitoring - cloud.mongodb.com
Free Online Education - university.mongodb.com
Get Involved - mongodb.org/community
We're Hiring! - https://www.mongodb.com/careers
Reply all
Reply to author
Forward
0 new messages