mirror of https://gitee.com/bigwinds/arangodb
Correct a caching bug in ClusterInfo.
This commit is contained in:
parent
81447c9426
commit
974cc8b441
|
@ -1992,8 +1992,8 @@ std::string ClusterInfo::getTargetServerEndpoint (ServerID const& serverID) {
|
||||||
ServerID ClusterInfo::getResponsibleServer (ShardID const& shardID) {
|
ServerID ClusterInfo::getResponsibleServer (ShardID const& shardID) {
|
||||||
int tries = 0;
|
int tries = 0;
|
||||||
|
|
||||||
if (! _collectionsValid) {
|
if (! _collectionsCurrentValid) {
|
||||||
loadPlannedCollections(true);
|
loadCurrentCollections(true);
|
||||||
tries++;
|
tries++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue