3,347 reputation
216
bio website comerford.cc
location Ireland
age 35
visits member for 2 years, 7 months
seen 10 hours ago

I currently work for MongoDB, Inc. and have a background in operations, networking and system administration. You can find me in all the usual places, but probably the most useful and relevant are listed below:

Personal Site/Blog
LinkedIn
Twitter
Stack Overflow Careers


Aug
6
revised How we can take backup oplog on every hour and apply on top on full backup for mongodb
added 79 characters in body
Aug
6
answered How we can take backup oplog on every hour and apply on top on full backup for mongodb
Jul
31
comment mongodb import … taking very long time
Also the backtick at the start of the SEQ fieldname is a bit odd but it works in my testing - I'm wondering if the version you are using is not so forgiving.
Jul
31
comment mongodb import … taking very long time
What version of MongoDB are you using? I just attempted this with 2.4.10 and it inserted the documents as expected - I can't reproduce the _id only result you are seeing
Jul
31
answered Mongo large chunks will not split
Jul
27
answered Mongo sharding issue with chunk split and Data transfer
Jul
27
answered Why mongo write only one partition
Jul
15
comment Error to connect mongos when trying to create replicated sharded cluster
The point was to try the full host:port version to connect rather than having the OS resolve localhost - just run it on whatever port you are actually running a mongos/mongod process on instead. You also have not mentioned the AMI you are using, what version of MongoDB you are using yet - if you could (and mention how you got the MongoDB binaries too - straight download, package install?) that would be great
Jul
14
comment Error to connect mongos when trying to create replicated sharded cluster
This is very likely an issue with security groups, something not allowing the connection on that port like bindIP, or similar then, since you are getting connection refused. I could try to replicate, but I'd need to know what AMI you are using (and any changes you might have made to the security group) to be sure. As an immediate test, try specifying the full host:port to make sure you use the loopback interface: mongo --host 127.0.0.1:27030
Jul
14
comment MongoDB SSL Certs
The validation is basically done using the OpenSSL libraries, so anything that checks out as valid there should be good, and the hostname should be fine as long as the CA and chain checks out. If in doubt you can use the weak validation temporarily to test (basically won't care about the cert presented) and then retest with strong validation.
Jul
14
comment Error to connect mongos when trying to create replicated sharded cluster
Your log says that the mongos is running on port 27030, not 27017 - are you connecting to the right port?
Jul
14
answered MongoDB SSL Certs
Jul
8
answered Setting stack-size ulimit for mongodb to reduce connection overhead
Jul
8
comment Partial access MongoDB databases without replication. Is that possible?
since you are using spring, you want to get the developer to use setOptions and QUERYOPTION_PARTIAL as mentioned in the answer. The command example is for if you are running a query from the mongo shell, not Java
Jul
8
comment Partial access MongoDB databases without replication. Is that possible?
Spring is a Java framework, so the options I pointed to for Java are available, though you may need to do a little work to get them to work with Spring (sorry, don't know the framework). You should be ready for it to be slower in the failure scenario of course, since it can be hard to distinguish between a slow shard and a down shard, but at least it will work eventually
Jul
8
answered Partial access MongoDB databases without replication. Is that possible?
Jul
7
comment How to activate load balancer in sharded MongoDB
Usually hotspots are caused by a poor shard key - I would recommend asking a new question that includes the relevant details about how you are sharding, the comments are not meant for extensive troubleshooting
Jul
6
answered MongoDB page faults even when all data is in resident in RAM
Jul
4
comment How to activate load balancer in sharded MongoDB
I linked to the answer which has step by step instructions to get to a sharded collection - literally, you can paste them in. If you don't enable sharding, then all databases and collections will remain on a single shard and will not be balanced, so that is a required step. Again, I would recommend reading the documentation on sharding so you understand what you are actually doing, then if something does not work, ask that as a question. Given that your requirements are pretty simple though, if you perform the needed steps I don't think you will have any problems
Jul
4
revised How to activate load balancer in sharded MongoDB
minor edit - missed code snippet formatting