Преглед на файлове

HPCC-22042 Fix XREF directory skew reporting when slavesPerNode>1

The directory skew calculation was incorrectly using the number
of slaves instead of the number of nodes to create an average
to calculate directory node skew.

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith преди 5 години
родител
ревизия
20b96c1f10
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      dali/sasha/saxref.cpp

+ 1 - 1
dali/sasha/saxref.cpp

@@ -1400,7 +1400,7 @@ public:
                         dt->addProp("MinIP",s1.str());
                     }
                     if (d->minsize[drv]<d->maxsize[drv]) {
-                        __int64 av = d->totalsize[drv]/(__int64)grp->ordinality();
+                        __int64 av = d->totalsize[drv]/(__int64)rawgrp->ordinality();
                         if (av) {
                             unsigned pcp = (unsigned)(d->maxsize[drv]*100/av);
                             unsigned pcn = (unsigned)(d->minsize[drv]*100/av);