[SERVER-29510] mongos on all servers crash when adding an index Created: 08/Jun/17  Updated: 06/Dec/22  Resolved: 08/Jun/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.2.13
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Tomasz Chmielewski Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-29152 Segfault in multiple shard primaries ... Closed
Assigned Teams:
Sharding
Operating System: ALL
Participants:

 Description   

I'm trying to add an index on a largish (~100 GB) and busy collection (many servers connecting, hundreds requests per second):

db.screenshots.createIndex(

Unknown macro: {"user_id"}

,

Unknown macro: {"unique"}

,

Unknown macro: {background}

);

db.screenshots.createIndex(

Unknown macro: {"deleted"}

,

Unknown macro: {"unique"}

,

Unknown macro: {background}

);

It seems to work, but unfortunately after the index is built, all mongos instances on all servers crash (to be precise - around 90% of mongos processes crashed; the ones which didn't crash were on idle servers with few connections).

We are using mongo 3.2.13 on Ubuntu 16.04, with sharding and replication, and mongos connecting.

See the attached log with a crash.



 Comments   
Comment by Kaloian Manassiev [ 08/Jun/17 ]

Hi tch@virtall.com,

Thank you for reporting this issue. This is a known problem, which was introduced in version 3.2.13 and has already been fixed under SERVER-29152. The fix will be available in version 3.2.14.

If this is causing you recurrent problems, please downgrade to 3.2.12 until 3.2.14 is released, which should be very soon.

Once again, thank you for your report and apologies for the inconvenience.

Best regards,
-Kal.

Comment by Tomasz Chmielewski [ 08/Jun/17 ]

It seems that Jira garbled createIndex - let me know if I should readd them (don't see a way to edit the description).

Generated at Thu Feb 08 04:21:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.