[SERVER-2710] Running replSetReconfig while writing to a collection causes secondaries and arbiters to segfault. Created: 08/Mar/11 Updated: 12/Jul/16 Resolved: 03/May/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 1.6.4, 1.6.5, 1.8.0-rc1 |
| Fix Version/s: | 1.9.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bernie Hackett | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux x64_64 |
||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
In short: 1.Create a replica set with 6 nodes ( 1 primary, 3 secondaries and 2 arbiters.) Expected outcome: Actual Outcome: Tue Mar 8 13:05:08 [initandlisten] connection accepted from 127.0.0.1:50215 #6 Tue Mar 8 13:05:08 Backtrace: Tue Mar 8 13:05:08 dbexit: 1.8.0-rc1: Backtrace in the log of one secondary: Tue Mar 8 13:19:46 [initandlisten] connection accepted from 127.0.0.1:43559 #9 |
| Comments |
| Comment by Kristina Chodorow (Inactive) [ 24/Jun/11 ] |
|
Yes. |
| Comment by Dwight Merriman [ 24/Jun/11 ] |
|
kristina will know more definitively but i believe yes. |
| Comment by Mike K [ 23/Jun/11 ] |
|
Would this also fix the primary segfaulting when calling replSetReconfig? Have seen this happen with two different replica sets when removing a node. |
| Comment by auto [ 02/May/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: never set self to 0 |
| Comment by Kristina Chodorow (Inactive) [ 08/Mar/11 ] |
|
The closing of connections is intentional and expected. |
| Comment by Bernie Hackett [ 08/Mar/11 ] |
|
I should also note that in 1.8.0-rc1 the primary closes all connections when stepping down then becoming primary again: Tue Mar 8 13:30:41 [conn32] replSet replSetReconfig config object parses ok, 6 members specified |