logo

osbornwu

第 291 号会员,加入于 3 年前


osbornwu最近创建的主题


7 求组:Assertion: 13111:field not found, expected type 7
MongoDBosbornwu • 3 年前 • 最后回复来自 osbornwu
osbornwu 创建的更多主题

osbornwu最近回复了


回复了 ccj 创建的主题: DBA之道 3 年前

O(∩_∩)O~

回复了 ccj 创建的主题: 一种MongoDB分片集群迁移的方案 3 年前

mongos切换这里还需要 客户端驱动支持吧,能自动感知么

回复了 osbornwu 创建的主题: 求组:Assertion: 13111:field not found, expected type 7 3 年前

@ccj 数据问题很难确认了,数据很多,又看了下其他分片的日志发现也有这种错误,但是这个分片比较频繁每几分钟就会出现一条, 请教下还有什么手段可以确认这个问题呢

回复了 osbornwu 创建的主题: 求组:Assertion: 13111:field not found, expected type 7 3 年前

@ccj 是否_id还是使用mongodb自己生成的Objectid,另外设置个片键即可规避呢,不知这是bug么,如果是可以这么规避么,你们使用的是什么样的呢

回复了 osbornwu 创建的主题: 求组:Assertion: 13111:field not found, expected type 7 3 年前

@ccj 是自定义的_id作为片键,很不幸的是经常出现

回复了 osbornwu 创建的主题: 求组:Assertion: 13111:field not found, expected type 7 3 年前

2.4.11 版本,分片+复制集 ,在其中一个分片出现这个错误, 并且出现大量的splitchunk 任务堆积,其他分片却没问题,本想使用mongosniff抓下包,却发现了mongosniff的bug,抓不成,profile=2已经是设置所有日志了,没有其他信息了

Fri Oct 31 15:26:52.675 [conn38] request split points lookup for chunk db2014_10_31.tlable_10274 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.675 [conn38] max number of requested split points reached (2) before the end of chunk db2014_10_31.tlable_10274 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.675 [conn38] warning: chunk is larger than 1024 bytes because of key { _id: “000001027400000100001013860123356653” } Fri Oct 31 15:26:52.676 [conn38] received splitChunk request: { splitChunk: “db2014_10_31.tlable_10274”, keyPattern: { _id: 1 }, min: { _id: MinKey }, max: { _id: MaxKey }, from: “share3”, splitKeys: [ { _id: “000001027400000100001013860123356653” } ], shardId: “db2014_10_31.tlable_10274-_id_MinKey”, configdb: “10.0.130.3:22000,10.0.24.3:22000,10.0.16.4:22000” } Fri Oct 31 15:26:52.688 [conn38] request split points lookup for chunk db2014_10_31.tlable_10274 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.688 [conn38] max number of requested split points reached (2) before the end of chunk db2014_10_31.tlable_10274 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.688 [conn38] warning: chunk is larger than 1024 bytes because of key { _id: “000001027400000100001013860123356653” } Fri Oct 31 15:26:52.689 [conn38] received splitChunk request: { splitChunk: “db2014_10_31.tlable_10274”, keyPattern: { _id: 1 }, min: { _id: MinKey }, max: { _id: MaxKey }, from: “share3”, splitKeys: [ { _id: “000001027400000100001013860123356653” } ], shardId: “db2014_10_31.tlable_10274-_id_MinKey”, configdb: “10.0.130.3:22000,10.0.24.3:22000,10.0.16.4:22000” } Fri Oct 31 15:26:52.701 [conn38] request split points lookup for chunk db2014_10_31.tlable_10274 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.701 [conn38] max number of requested split points reached (2) before the end of chunk db2014_10_31.tlable_10274 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.701 [conn38] warning: chunk is larger than 1024 bytes because of key { _id: “000001027400000100001013860123356653” } Fri Oct 31 15:26:52.702 [conn38] received splitChunk request: { splitChunk: “db2014_10_31.tlable_10274”, keyPattern: { _id: 1 }, min: { _id: MinKey }, max: { _id: MaxKey }, from: “share3”, splitKeys: [ { _id: “000001027400000100001013860123356653” } ], shardId: “db2014_10_31.tlable_10274-_id_MinKey”, configdb: “10.0.130.3:22000,10.0.24.3:22000,10.0.16.4:22000” } Fri Oct 31 15:26:52.707 [conn38] request split points lookup for chunk db2014_10_31.tlable_10180 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.707 [conn38] max number of requested split points reached (2) before the end of chunk db2014_10_31.tlable_10180 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.707 [conn38] warning: chunk is larger than 1024 bytes because of key { _id: “000001018000002600026125239302575958” } Fri Oct 31 15:26:52.708 [conn38] received splitChunk request: { splitChunk: “db2014_10_31.tlable_10180”, keyPattern: { _id: 1 }, min: { _id: MinKey }, max: { _id: MaxKey }, from: “share3”, splitKeys: [ { _id: “000001018000002600026125239302575958” } ], shardId: “db2014_10_31.tlable_10180-_id_MinKey”, configdb: “10.0.130.3:22000,10.0.24.3:22000,10.0.16.4:22000” } Fri Oct 31 15:26:52.719 [conn38] request split points lookup for chunk db2014_10_31.tlable_10274 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.719 [conn38] max number of requested split points reached (2) before the end of chunk db2014_10_31.tlable_10274 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.719 [conn38] warning: chunk is larger than 1024 bytes because of key { _id: “000001027400000100001013860123356653” } Fri Oct 31 15:26:52.720 [conn38] received splitChunk request: { splitChunk: “db2014_10_31.tlable_10274”, keyPattern: { _id: 1 }, min: { _id: MinKey }, max: { _id: MaxKey }, from: “share3”, splitKeys: [ { _id: “000001027400000100001013860123356653” } ], shardId: “db2014_10_31.tlable_10274-_id_MinKey”, configdb: “10.0.130.3:22000,10.0.24.3:22000,10.0.16.4:22000” } Fri Oct 31 15:26:52.729 [conn38] request split points lookup for chunk db2014_10_31.tlable_10046 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.729 [conn38] max number of requested split points reached (2) before the end of chunk db2014_10_31.tlable_10046 { : MinKey } –>> { : MaxKey } Fri Oct 31 15:26:52.729 [conn38] warning: chunk is larger than 1024 bytes because of key { _id: “000000000000327600192175567241564367” } Fri Oct 31 15:26:52.730 [conn38] received splitChunk request: { splitChunk: “db2014_10_31.tlable_10046”, keyPattern: { _id: 1 }, min: { _id: MinKey }, max: { _id: MaxKey }, from: “share3”, splitKeys: [ { _id: “000000000000327600192175567241564367” } ], shardId: “db2014_10_31.tlable_10046-_id_MinKey”, configdb: “10.0.130.3:22000,10.0.24.3:22000,10.0.16.4:22000”

osbornwu 创建的更多回复