[SERVER-4078] Assertion failure 0 db/ops/update.cpp 691 Created: 15/Oct/11 Updated: 07/Mar/14 Resolved: 26/Jan/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | 2.0.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Liu Qishuai | Assignee: | Aaron Staple |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Operating System: | Linux | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
mongodb 2.0.0 secondary keeps throwing exceptions until it became stale. old versions (1.8.x) don't have this bug. Fri Oct 14 02:54:02 [initandlisten] connection accepted from 192.168.168.252:53261 #847 , o: { $set: { citystats.喀什.lcd: "2011-05-24", citystats.天津.lcd: "2010-10-04", citystats.泰安.lcd: "2011-08-13", citystats.杭州.ncl: 13, citystats.阿克苏.ncl: 2, citystats.上海.lcd: "2011-09-10", citystats.杭州.ncd: 7, citystats.阿克苏.ncd: 2, citystats.博尔塔拉州.ncl: 1, citystats.北京.ncl: 98, citystats.阿克苏地区.ncd: 1, citystats.泰安.ncl: 3, citystats.北京.ncd: 90, citystats.阿克苏地区.ncl: 1, citystats.上海.ncd: 1, citystats.阿克苏.lcd: "2011-05-19", citystats.海外.ncd: 1, citystats.天津.ncd: 1, citystats.上海.ncl: 1, citystats.海外.ncl: 1, citystats.天津.ncl: 1, citystats.和田.ncd: 1, citystats.深圳.ncl: 2, citystats.博尔塔拉州.ncd: 1, citystats.和田.ncl: 1, citystats.青岛.lcd: "2011-06-06", citystats.深圳.lcd: "2011-01-25", citystats.深圳.ncd: 2, citystats.阿克苏地区.lcd: "2011-05-16", citystats.海外.lcd: "2011-08-13", citystats.青岛.ncd: 3, citystats.北京.lcd: "2011-10-12", citystats.秦皇岛.lcd: "2011-07-16", citystats.和田.lcd: "2011-05-26", citystats.青岛.ncl: 4, citystats.伊宁.ncl: 1, citystats.喀什.ncl: 1, citystats.乌鲁木齐.lcd: "2011-06-03", citystats.伊宁.ncd: 1, citystats.博尔塔拉州.lcd: "2011-06-01", citystats.喀什.ncd: 1, citystats.秦皇岛.ncd: 2, citystats.泰安.ncd: 1, citystats.伊宁.lcd: "2011-05-27", citystats.乌鲁木齐.ncl: 5, citystats.乌鲁木齐.ncd: 4, citystats.秦皇岛.ncl: 3, citystats.杭州.lcd: "2011-08-07" } } } , o: { $set: { citystats.喀什.lcd: "2011-05-24", citystats.天津.lcd: "2010-10-04", citystats.泰安.lcd: "2011-08-13", citystats.杭州.ncl: 13, citystats.阿克苏.ncl: 2, citystats.上海.lcd: "2011-09-10", citystats.杭州.ncd: 7, citystats.阿克苏.ncd: 2, citystats.博尔塔拉州.ncl: 1, citystats.北京.ncl: 98, citystats.阿克苏地区.ncd: 1, citystats.泰安.ncl: 3, citystats.北京.ncd: 90, citystats.阿克苏地区.ncl: 1, citystats.上海.ncd: 1, citystats.阿克苏.lcd: "2011-05-19", citystats.海外.ncd: 1, citystats.天津.ncd: 1, citystats.上海.ncl: 1, citystats.海外.ncl: 1, citystats.天津.ncl: 1, citystats.和田.ncd: 1, citystats.深圳.ncl: 2, citystats.博尔塔拉州.ncd: 1, citystats.和田.ncl: 1, citystats.青岛.lcd: "2011-06-06", citystats.深圳.lcd: "2011-01-25", citystats.深圳.ncd: 2, citystats.阿克苏地区.lcd: "2011-05-16", citystats.海外.lcd: "2011-08-13", citystats.青岛.ncd: 3, citystats.北京.lcd: "2011-10-12", citystats.秦皇岛.lcd: "2011-07-16", citystats.和田.lcd: "2011-05-26", citystats.青岛.ncl: 4, citystats.伊宁.ncl: 1, citystats.喀什.ncl: 1, citystats.乌鲁木齐.lcd: "2011-06-03", citystats.伊宁.ncd: 1, citystats.博尔塔拉州.lcd: "2011-06-01", citystats.喀什.ncd: 1, citystats.秦皇岛.ncd: 2, citystats.泰安.ncd: 1, citystats.伊宁.lcd: "2011-05-27", citystats.乌鲁木齐.ncl: 5, citystats.乌鲁木齐.ncd: 4, citystats.秦皇岛.ncl: 3, citystats.杭州.lcd: "2011-08-07" } } } , o: { $set: { citystats.喀什.lcd: "2011-05-24", citystats.天津.lcd: "2010-10-04", citystats.泰安.lcd: "2011-08-13", citystats.杭州.ncl: 13, citystats.阿克苏.ncl: 2, citystats.上海.lcd: "2011-09-10", citystats.杭州.ncd: 7, citystats.阿克苏.ncd: 2, citystats.博尔塔拉州.ncl: 1, citystats.北京.ncl: 98, citystats.阿克苏地区.ncd: 1, citystats.泰安.ncl: 3, citystats.北京.ncd: 90, citystats.阿克苏地区.ncl: 1, citystats.上海.ncd: 1, citystats.阿克苏.lcd: "2011-05-19", citystats.海外.ncd: 1, citystats.天津.ncd: 1, citystats.上海.ncl: 1, citystats.海外.ncl: 1, citystats.天津.ncl: 1, citystats.和田.ncd: 1, citystats.深圳.ncl: 2, citystats.博尔塔拉州.ncd: 1, citystats.和田.ncl: 1, citystats.青岛.lcd: "2011-06-06", citystats.深圳.lcd: "2011-01-25", citystats.深圳.ncd: 2, citystats.阿克苏地区.lcd: "2011-05-16", citystats.海外.lcd: "2011-08-13", citystats.青岛.ncd: 3, citystats.北京.lcd: "2011-10-12", citystats.秦皇岛.lcd: "2011-07-16", citystats.和田.lcd: "2011-05-26", citystats.青岛.ncl: 4, citystats.伊宁.ncl: 1, citystats.喀什.ncl: 1, citystats.乌鲁木齐.lcd: "2011-06-03", citystats.伊宁.ncd: 1, citystats.博尔塔拉州.lcd: "2011-06-01", citystats.喀什.ncd: 1, citystats.秦皇岛.ncd: 2, citystats.泰安.ncd: 1, citystats.伊宁.lcd: "2011-05-27", citystats.乌鲁木齐.ncl: 5, citystats.乌鲁木齐.ncd: 4, citystats.秦皇岛.ncl: 3, citystats.杭州.lcd: "2011-08-07" } } } |
| Comments |
| Comment by Aaron Staple [ 26/Jan/12 ] |
|
You mentioned that you are not seeing this issue in 1.8. Potentially you are running into |
| Comment by Aaron Staple [ 26/Jan/12 ] |
|
This is the same as |
| Comment by Eliot Horowitz (Inactive) [ 11/Nov/11 ] |
|
Confirmed I am seeing assert. |
| Comment by Liu Qishuai [ 11/Nov/11 ] |
|
Hi Eliot & Ian, Attachment is the script to reproduce this bug. Run ./reproduce.sh and see the exception in mongodb log file. I can reproduce it in 2.0.0 and 1.8.2. |
| Comment by Liu Qishuai [ 01/Nov/11 ] |
|
I can't reproduce it in development environment. |
| Comment by Ian Whalen (Inactive) [ 31/Oct/11 ] |
|
@liu, just following up to see if it would be possible for you to attach a script helping us to reproduce? |
| Comment by Eliot Horowitz (Inactive) [ 18/Oct/11 ] |
|
we've seen this once before but cannot reproduce. |