Skip to content

Tokumx Indexes problems #1245

@quilombodigital

Description

@quilombodigital

Hi,

Since a vm migration (using snapshot), the tokumx is not working with the original data (it works if I just erase the directory)

Apparently the indexes are broken. I tried to drop the indexes, reindex, but no command works at all.

I want to know if the data was corrupted, and how can I get it back.

> show dbs;
Wed May 25 09:33:30.924 listDatabases failed:{
        "errmsg" : "exception: dictionary DATABASENAME.TABLENAME.$INDEX_NAME should exist, but we got ENOENT",
        "code" : 16988,
        "ok" : 0
} at /mnt/workspace/percona-tokumx-2.0-debian-binary/label_exp/vps-ubuntu-trusty-x64-04/tokumx-enterprise-2.0.2/src/mongo/shell/mongo.js:46
>
Wed May 25 09:24:45.051 [conn2] Assertion: 16988:dictionary DATABASENAME.TABLENAME.$INDEX_NAME should exist, but we got ENOENT
0xb0c9f6 0x99affc 0x99b09c 0x7fa85a 0x7fbc1e 0x83f534 0x8428d0 0x859cf7 0x85a07e 0x8f8ca9 0x8f935f 0x872db1 0x863f08 0x8657ca 0x8660ff 0x893999 0x896c40 0x8166c0 0x6ea86b 0x7d8e12
 /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x26) [0xb0c9f6]
 /usr/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x9c) [0x99affc]
 /usr/bin/mongod() [0x99b09c]
 /usr/bin/mongod(_ZN5mongo14IndexInterface4openEbb+0x35a) [0x7fa85a]
 /usr/bin/mongod(_ZN5mongo14IndexInterface4makeERKNS_7BSONObjEbb+0x1fe) [0x7fbc1e]
 /usr/bin/mongod(_ZN5mongo14CollectionBaseC2ERKNS_7BSONObjEPb+0x2e4) [0x83f534]
 /usr/bin/mongod(_ZN5mongo17IndexedCollectionC1ERKNS_7BSONObjEPb+0x10) [0x8428d0]
 /usr/bin/mongod(_ZN5mongo10CollectionC1ERKNS_7BSONObjEb+0xa57) [0x859cf7]
 /usr/bin/mongod(_ZN5mongo10Collection4makeERKNS_7BSONObjEb+0x3e) [0x85a07e]
 /usr/bin/mongod(_ZN5mongo13CollectionMap7open_nsERKNS_10StringDataEb+0x3d9) [0x8f8ca9]
 /usr/bin/mongod(_ZN5mongo13CollectionMap13getCollectionERKNS_10StringDataE+0x4f) [0x8f935f]
 /usr/bin/mongod(_ZN5mongo15CollectionStats3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x111) [0x872db1]
 /usr/bin/mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x28) [0x863f08]
 /usr/bin/mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xe6a) [0x8657ca]
 /usr/bin/mongod(_ZN5mongo12_runCommandsEPKcRKNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x26f) [0x8660ff]
 /usr/bin/mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x29) [0x893999]
 /usr/bin/mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0x510) [0x896c40]
 /usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x6b0) [0x8166c0]
 /usr/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xbb) [0x6ea86b]
 /usr/bin/mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x452) [0x7d8e12]
Wed May 25 09:24:45.232 [conn2] Assertion: 16988:dictionary DATABASENAME.TABLENAME.$INDEX_NAME should exist, but we got ENOENT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions