恢复mongodb WiredTiger失败,不变失败为rs.get()

恢复mongodb WiredTiger失败,不变失败为rs.get(),mongodb,corruption,Mongodb,Corruption,在(看起来是)不正确关闭后恢复单节点配置时,我遇到了一些问题。 你可以在jira上看到这个问题的全部细节 这是mongod--repair的日志 2016-06-16T16:15:21.625+0300 I STORAGE [initandlisten] WiredTiger progress WT_SESSION.verify 56200 2016-06-16T16:15:21.630+0300 E STORAGE [initandlisten] WiredTiger (0) [14660

在(看起来是)不正确关闭后恢复单节点配置时,我遇到了一些问题。 你可以在jira上看到这个问题的全部细节

这是
mongod--repair的日志

2016-06-16T16:15:21.625+0300 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 56200
2016-06-16T16:15:21.630+0300 E STORAGE  [initandlisten] WiredTiger (0) [1466082921:630660][8347:0x7f006e3b6cc0], file:collection-128-6816245440313053.wt, WT_SESSION.verify: read checksum error for 12288B block at offset 288509952: block header checksum of 2294773803 doesn't match expected checksum of 1228719121
2016-06-16T16:15:21.680+0300 E STORAGE  [initandlisten] WiredTiger (0) [1466082921:680635][8347:0x7f006e3b6cc0], file:collection-128-6816245440313053.wt, WT_SESSION.verify: checkpoint ranges never verified: 3657
2016-06-16T16:15:21.697+0300 E STORAGE  [initandlisten] WiredTiger (0) [1466082921:697338][8347:0x7f006e3b6cc0], file:collection-128-6816245440313053.wt, WT_SESSION.verify: file ranges never verified: 3657
2016-06-16T16:15:21.697+0300 I STORAGE  [initandlisten] Verify failed on uri table:collection-128-6816245440313053. Running a salvage operation.
2016-06-16T16:15:21.701+0300 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.salvage 100
...
2016-06-16T16:15:27.541+0300 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.salvage 96200
2016-06-16T16:15:27.673+0300 I INDEX    [initandlisten] build index on: db.collection properties: { v: 1, key: { _id: 1 }, name: "_id_", ns: "db.collection" }
2016-06-16T16:15:27.673+0300 I INDEX    [initandlisten]          building index using bulk method
2016-06-16T16:15:53.433+0300 I -        [initandlisten] Invariant failure rs.get() src/mongo/db/catalog/database.cpp 190
2016-06-16T16:15:53.434+0300 I -        [initandlisten] 
2016-06-16T16:15:53.462+0300 F -        [initandlisten] Got signal: 6 (Aborted).
I've restarted and got the same failure (after the repair went through the data again)
2016-06-16T17:18:48.833+0300 I STORAGE  [initandlisten] Verify succeeded on uri table:collection-128-6816245440313053. Not salvaging.
2016-06-16T17:18:48.847+0300 I INDEX    [initandlisten] build index on: db.collection properties: { v: 1, key: { _id: 1 }, name: "_id_", ns: "db.collection" }
2016-06-16T17:18:48.847+0300 I INDEX    [initandlisten]          building index using bulk method
2016-06-16T17:19:15.146+0300 I -        [initandlisten] Invariant failure rs.get() src/mongo/db/catalog/database.cpp 190
2016-06-16T17:19:15.146+0300 I -        [initandlisten] 

***aborting after invariant() failure



2016-06-16T17:19:15.189+0300 F -        [initandlisten] Got signal: 6 (Aborted).
用于维修的mongod版本:

$ mongod --version
db version v3.2.7
git version: 4249c1d2b5999ebbf1fdf3bc0e0e3b3ff5c0aaf2
OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014
allocator: tcmalloc
modules: none
build environment:
    distmod: ubuntu1404
    distarch: x86_64
    target_arch: x86_64
我还有什么其他恢复选项?
我怎么能忽略这些破损的收藏?试图将其从文件夹中删除,但无效。

您能解决此问题吗?我也有同样的问题。你能解决这个问题吗?我也有同样的问题。有点晚了,但其他人读到:这就是我所做的: