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) {
|
||||
int tries = 0;
|
||||
|
||||
if (! _collectionsValid) {
|
||||
loadPlannedCollections(true);
|
||||
if (! _collectionsCurrentValid) {
|
||||
loadCurrentCollections(true);
|
||||
tries++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue