note 111599 added to class.mongoclient

From: Date: Thu, 07 Mar 2013 09:34:26 +0000
Subject: note 111599 added to class.mongoclient
Groups: php.notes 
Request: Send a blank email to php-notes+get-193973@lists.php.net to get a copy of this message
php monogo driver 1.3.4 feb 2013 After demoting old replicaset primary to secondary, and promoting old replicaset second into primary, we began seeing "No candidate servers found" MongoException at initial attempt to connect to (new) replicaset primary (via this hint in the /etc/mongo.conf: replSet = rs1/pri.eastghost.com) Fix seems to be 1. NEVER list "localhost" in the bind= line of /etc/mongo.conf 2. ALWAYS list every replica set member in every member's /etc/hosts file -- there seems to be something wrong with DNS lookup timing. ---- Server IP: 69.147.83.199 Probable Submitter: 70.91.82.193 ---- Manual Page -- http://php.net/manual/en/class.mongoclient.php Edit -- https://master.php.net/note/edit/111599 Del: integrated -- https://master.php.net/note/delete/111599/integrated Del: useless -- https://master.php.net/note/delete/111599/useless Del: bad code -- https://master.php.net/note/delete/111599/bad+code Del: spam -- https://master.php.net/note/delete/111599/spam Del: non-english -- https://master.php.net/note/delete/111599/non-english Del: in docs -- https://master.php.net/note/delete/111599/in+docs Del: other reasons-- https://master.php.net/note/delete/111599 Reject -- https://master.php.net/note/reject/111599 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193973) next »