oferfort
unread,Oct 22, 2010, 3:16:46 AM10/22/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
please help,
i tried splitting my biggest chunk in one of my collections, and i got
this reply:
> db.runCommand({split:"storage.object_interaction", middle:{_id:877070867}})
{
"assertion" : "saving chunks failed. cmd: { applyOps: [ { op:
\"u\", b: true, ns: \"config.chunks\
", o: { _id: \"storage.object_interaction-_id_832352546\", lastmod:
Timestamp 179000|4, ns: \"storage.objec
t_interaction\", min: { _id: 832352546 }, max: { _id: 832352546.0 },
shard: \"shard0001\" }, o2: { _id: \"s
torage.object_interaction-_id_832352546\" } }, { op: \"u\", b: true,
ns: \"config.chunks\", o: { _id: \"sto
rage.object_interaction-_id_832352546.0\", lastmod: Timestamp 179000|
5, ns: \"storage.object_interaction\",
min: { _id: 832352546.0 }, max: { _id: 832352547.0 }, shard:
\"shard0001\" }, o2: { _id: \"storage.object_
interaction-_id_832352546.0\" } }, { op: \"u\", b: true, ns:
\"config.chunks\", o: { _id: \"storage.object_
interaction-_id_877070867\", lastmod: Timestamp 179000|6, ns:
\"storage.object_interaction\", min: { _id: 8
77070867 }, max: { _id: 877070867.0 }, shard: \"shard0001\" }, o2:
{ _id: \"storage.object_interaction-_id_
877070867\" } }, { op: \"u\", b: true, ns: \"config.chunks\", o:
{ _id: \"storage.object_interaction-_id_877070867.0\", lastmod:
Timestamp 179000|7, ns: \"storage.object_interaction\", min: { _id:
877070867.0 }, max: { _id: 877217527 }, shard: \"shard0001\" }, o2:
{ _id: \"storage.object_interaction-_id_877070867.0\" } } ],
preCondition: [ { ns: \"config.chunks\", q: { query: { ns:
\"storage.object_interaction\" }, orderby: { lastmod: -1 } }, res:
{ lastmod: Timestamp 179000|3 } } ] } result: { got: { _id:
\"storage.object_interaction-_id_832352546\", lastmod: Timestamp
179000|4, ns: \"storage.object_interaction\", min: { _id: 832352546 },
max: { _id: 832352546.0 }, shard: \"shard0001\" }, whatFailed: { ns:
\"config.chunks\", q: { query: { ns: \"storage.object_interaction\" },
orderby: { lastmod: -1 } }, res: { lastmod: Timestamp 179000|3 } },
errmsg: \"pre-condition failed\", ok: 0.0 }",
"assertionCode" : 13327,
"errmsg" : "db assertion failure",
"ok" : 0
}
after that i tried it this way:
> db.runCommand({split:"storage.object_interaction", find:{_id:854711706}})
{
"assertion" : "Couldn't load a valid config for
storage.object_interaction after 3 tries. Giving up",
"assertionCode" : 13282,
"errmsg" : "db assertion failure",
"ok" : 0
}
and now i can't do anything, seems like the collection is corruped, i
try to find and i get:
> db.object_interaction.findOne({_id:854711706})
Fri Oct 22 00:04:24 uncaught exception: error { "$err" : "assertion s/
chunk.cpp:768", "code" : 0 }
help please, this is the production DB!!!