mirror of https://github.com/citusdata/citus.git
fix
parent
1249606972
commit
e32a24e94a
|
@ -312,7 +312,7 @@ AttributeMetricsIfApplicable()
|
||||||
*/
|
*/
|
||||||
while (tenantIndex != 0 &&
|
while (tenantIndex != 0 &&
|
||||||
monitor->tenants[tenantIndex - 1].score <
|
monitor->tenants[tenantIndex - 1].score <
|
||||||
monitor->tenants[tenantIndex]->score)
|
monitor->tenants[tenantIndex].score)
|
||||||
{
|
{
|
||||||
LWLockAcquire(&monitor->tenants[tenantIndex - 1].lock, LW_EXCLUSIVE);
|
LWLockAcquire(&monitor->tenants[tenantIndex - 1].lock, LW_EXCLUSIVE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue