|
@@ -5000,7 +5000,9 @@ bool pool_actively_desired(const struct pool * const pool, const struct pool *cp
|
|
|
{
|
|
{
|
|
|
if (pool->enabled != POOL_ENABLED)
|
|
if (pool->enabled != POOL_ENABLED)
|
|
|
return false;
|
|
return false;
|
|
|
- if (pool_strategy == POOL_LOADBALANCE || pool_strategy == POOL_BALANCE)
|
|
|
|
|
|
|
+ if (pool_strategy == POOL_LOADBALANCE && pool->quota)
|
|
|
|
|
+ return true;
|
|
|
|
|
+ if (pool_strategy == POOL_BALANCE && !pool->failover_only)
|
|
|
return true;
|
|
return true;
|
|
|
if (!cp)
|
|
if (!cp)
|
|
|
cp = current_pool();
|
|
cp = current_pool();
|