[SERVER-23487] Issue with Sharding Collection SplitVector timeout Created: 04/Apr/16 Updated: 24/May/16 Resolved: 24/May/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.2.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pierre MOELO [X] | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Sharding 15 (06/03/16) | ||||||||
| Participants: | |||||||||
| Description |
|
Hi Team, My problem is when I run the shardcollection command, nothing happens and in some cases I have a timeout { "code" : 50, "ok" : 0, "errmsg" : "Operation timed out" }I do :
In the logfile :
I have 3 configserver, 1 mongos, 2 mongodb. |
| Comments |
| Comment by Kelsey Schubert [ 17/May/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi PM, We still need the logs Spencer requested to diagnose the problem. If this is still an issue for you, would you please increase the logging verbosity to level 2 by running db.setLogLevel(2) and execute the shardCollection command on both the mongos and the shard mongods? Afterwards, please return the log verbosity to level 0 and upload the logs to the upload portal. Thank you, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Spencer Brody (Inactive) [ 29/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi PM, If you don't want to attach the log files to this (publicly visible) ticket, feel free to open a new ticket in our Community Private (SUPPORT) project and attach them there. If you do so, just make sure to leave a comment on this ticket with the id of the new SUPPORT ticket so I know to go look at it. Cheers, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Pierre MOELO [X] [ 29/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi @Thomas, I did the update to MongoDB 3.2.6 but the issue is still there. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kelsey Schubert [ 26/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi PM, Thank you for the additional information. I recommend that you upgrade to MongoDB 3.2.6-rc0, the release candidate for MongoDB 3.2.6, which includes Would you please upgrade and and let us know if the issue persists? Kind regards, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Pierre MOELO [X] [ 15/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Done, let me know if something is missing. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kelsey Schubert [ 15/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi PM, We are still investigating this issue and exploring explanations for the slow query you are observing. To assist our investigation, can you please reproduce this issue and provide the following information:
Please use the same portal as before. Thank you, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Pierre MOELO [X] [ 13/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi @Thomas, Do you have any news ? Thanks in adavance | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Pierre MOELO [X] [ 07/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi @Thomas, I just upload the output of currentOp and stats. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kelsey Schubert [ 06/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi PM, Thank you for uploading the logs.
Thanks again for your help, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Pierre MOELO [X] [ 06/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi @Thomas, I added the logs yesterday. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kelsey Schubert [ 04/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi PM, Additionally, if the Dev.link collection is still not sharded, can you please execute and post the output of the following command on the shard containing the collection:
Thank you, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kelsey Schubert [ 04/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi PM, Thank you for clarifying that you are using config servers as a replica set. So we can continue to investigate, can you please upload the complete logs of your config servers, mongos, and shards? I have created a secure upload portal for you to use here. Files you upload to this portal will only be visible to MongoDB employees investigating this issue. Kind regards, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Pierre MOELO [X] [ 04/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi @Thomas, Actually , I am using config servers as a replica set.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kelsey Schubert [ 04/Apr/16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi PM, Thank you for opening this ticket. Can you please clarify if you are using the legacy mirrored config servers or config servers as a replica set? If you are using config servers as a replica set, please connect to the primary config server and provide the output of rs.status() and rs.printSlaveReplicationInfo()? Thank you, |