That's quite bizarre.
Can you send the output of db.system.indexes.find() and tell us which
make it and which don't?
On Tue, Sep 28, 2010 at 2:19 AM, Brian Zambrano <bri...@gmail.com> wrote:
> Mongodump has been working just fine, and *does* bring over our indexes.
> However, we have one collection where the indexes are strangely missing.
> The only difference I can think of between this collection (with missing
> indexes) and the others is that the indexes were created from the mongo
> shell, where the indexes which survive the dump/restore were created from
> PyMongo.
>
> I'm not even sure how to investigate this. Has anyone else seen this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
>
No - you wouldn't be hitting SERVER-808
what indexes are missing?
can you send db.users.getIndexes() before and after.
Can we try to keep on-list as well.
On Mon, Oct 18, 2010 at 7:32 PM, Brian Zambrano <bri...@gmail.com> wrote:
> Hi Eliot,
>
> Following up on this a bit late, but this still seems to be happening, where
> one of our collections is missing some indexes after a
> mongodump/mongorestore.
>
> We're using 1.6.3.
>
> The relevant DB/collection is "eventbrite.users". Looking at this, I think
> the relevant lines start around 1779:
>
> 1779 Mon Oct 18 14:53:10 [conn6] building new index on { fb._id: 1 } for
> eventbrite.users
> 1780 Mon Oct 18 14:53:10 [conn6] done for 0 records 0.008secs
> 1781 Mon Oct 18 14:53:10 [conn6] CMD: drop eventbrite.users
> 1782 Mon Oct 18 14:53:10 [conn6] building new index on { _id: 1 } for
> eventbrite.users
> 1783 Mon Oct 18 14:53:10 [conn6] done for 0 records 0secs
> 1784 Mon Oct 18 14:53:11 [conn6] insert eventbrite.users 160ms
>
> It looks like indexes are added, and then the data is inserted...not sure if
> that is by design or not?
>
> Any help appreciated....thanks!
>
> BZ
> bri...@eventbrite.com
>
>
>
> On Tue, Sep 28, 2010 at 1:46 PM, Eliot Horowitz <elioth...@gmail.com>