Closed marekaf closed 6 years ago
Hi, many thanks for spotting this. My preference is to fix this to support 3.6 which I am just testing changes for now for the project https://github.com/pkdone/gke-mongodb-demo and then I will do the same changes here.
Ok, great, thanks for the reply. I'm going the other way for now as my running cluster is 3.4.10 and I want to add another shard. I'll keep an eye on both repos and probably upgrade later on as well.
Just to let you know that the two changes are backwards compatible (bind_ip param works fine on 3.4 too, and the generate script just has a longer sleep line due to a new shell bug (see inline comment in that bash script)). So you can incorporate those changes but keep your fork on 3.4, if you wanted to keep both code bases closer. Thanks Paul
Yesterday/today they changed the latest tag on mongo docker image from 3.4 -> 3.6 docker-library/official-images@9ab6d58#diff-c7d492b78482cdbec624f40bb1b722fd
that breaks quite a lot of things, 3.6 seems not to have --bind_ip_all by default and sh.addShard yields this error
I'd recommend pinning the mongo docker image - mongo:latest -> mongo:3.4.10