mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
This commit is contained in:
commit
bca5b0e305
|
@ -8872,7 +8872,8 @@ static v8::Handle<v8::Value> JS_ListDatabases_Coordinator
|
|||
vector<ServerID> DBServers;
|
||||
while (++tries <= 2) {
|
||||
DBServers = ci->getCurrentDBServers();
|
||||
if (DBServers.size() != 0) {
|
||||
|
||||
if (! DBServers.empty()) {
|
||||
ServerID sid = DBServers[0];
|
||||
ClusterComm* cc = ClusterComm::instance();
|
||||
ClusterCommResult* res;
|
||||
|
|
Loading…
Reference in New Issue