[SERVER-9508] Shards not discovered by mongostat in 2.4.3 Created: 30/Apr/13 Updated: 15/Nov/21 Resolved: 21/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | 2.4.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Dan Cooper | Assignee: | Randolph Tan |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | mongostat | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS 6.3 |
||
| Operating System: | Linux |
| Participants: |
| Description |
|
Hello, Since upgrading to 2.4.3, shards are no longer discovered when using mongostat. Example: How it looks now with Mongo 2.4.3 and mongostat 2.4.3
[ec2-user@mng2ld ~]$ mongostat --version mongostat version 2.4.3 How it’s supposed to look (this is with Mongo 2.2.0)
|
| Comments |
| Comment by Daniel Pasette (Inactive) [ 24/Jul/13 ] |
|
dan.cooper, we haven't had any luck reproducing with 2.4.3 except in the case that renctan mentioned, which is when there is a cluster with no shards added. If this is still a problem, can you attach the contents of the config.shards collection? This is how the --discover option discovers the members of the cluster. |
| Comment by Randolph Tan [ 27/Jun/13 ] |
|
I tried setting up a cluster through AWS (instead of doing all machines locally) and was still unable to reproduce the issue. I was only able to reproduce it when I have a fresh config server that has an empty config.shards collection. |
| Comment by Dan Cooper [ 26/Jun/13 ] |
|
Yes all 2.4.3 |
| Comment by Randolph Tan [ 26/Jun/13 ] |
|
Sorry, I forgot to ask the versions of the mongos, shards and config servers. Are they also all in 2.4.3? |
| Comment by Dan Cooper [ 26/Jun/13 ] |
|
1. Are you using auth or keyFile? - none Oddly it works with other versions of mongostat. Just not 2.4.3 |
| Comment by Randolph Tan [ 26/Jun/13 ] |
|
Hi, I have trouble replicating this issue. Do you mind providing more details on your setup? For example: 1. Are you using auth or keyFile? |