I'am trying to deploy shard cluster for tests.
Using docs http://docs.mongodb.org/manual/tutorial/deploy-shard-cluster/
And every time when execute update there is strange delay 90+ ms.
mongos.log:
Sun Dec 23 23:41:06 [conn1] Request::process begin ns: test.$cmd msg id: 2 op: 2004 attempt: 0
Sun Dec 23 23:41:06 [conn1] single query: test.$cmd
ntoreturn: -1 options : 0 0ms
Sun Dec 23 23:41:06 [conn1] gathering response for gle from: 127.0.0.1:20001
Sun Dec 23 23:41:06 [conn1] T1: 0ms
Sun Dec 23 23:41:06 [conn1] T2: 99ms
Sun Dec 23 23:41:06 [conn1] gathering writebacks from 3 hosts for gle (127.0.0.1:20001)
Sun Dec 23 23:41:06 [conn1] gathering writebacks for single-shard gle from: 127.0.0.1:20002
Sun Dec 23 23:41:06 [conn1] gathering writebacks for single-shard gle from: 127.0.0.1:20003
Sun Dec 23 23:41:06 [conn1] checking 0 writebacks for gle (127.0.0.1:20001)
Sun Dec 23 23:41:06 [conn1] Request::process end ns: test.$cmd msg id: 2 op: 2004 attempt: 0 99ms
I add some debug information into: src/mongo/s/client_info.cpp (function ClientInfo::getLastError):
Timer t;
LOG(5) << "gathering response for gle from: " << theShard << endl;
ShardConnection conn( theShard , "" );
try