mirror of https://github.com/citusdata/citus.git
fix
parent
01eb68a7c9
commit
4816817c9b
|
@ -302,7 +302,7 @@ AttributeMetricsIfApplicable()
|
|||
{
|
||||
LWLockAcquire(&monitor->tenants[tenantIndex - 1].lock, LW_EXCLUSIVE);
|
||||
|
||||
ReduceScoreIfNecessary(monitor, monitor->tenants[tenantIndex - 1], queryTime);
|
||||
ReduceScoreIfNecessary(monitor, &monitor->tenants[tenantIndex - 1], queryTime);
|
||||
|
||||
TenantStats tempTenant = monitor->tenants[tenantIndex];
|
||||
monitor->tenants[tenantIndex] = monitor->tenants[tenantIndex - 1];
|
||||
|
|
Loading…
Reference in New Issue