فهرست منبع

HPCC-11061 - Ensure Dali group created if missing

If the loaded environment Cluster matches the existing one,
Dali didn't bother to create the Group (it assumed it must have
been created before). If however, something changes the
Environment behind it's back, it will mean the Group will never
be created. This fix ensures it is, if missing.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Jake Smith 11 سال پیش
والد
کامیت
79f2b9e9fa
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dali/base/dadfs.cpp

+ 1 - 1
dali/base/dadfs.cpp

@@ -8619,7 +8619,7 @@ class CInitGroups
             messages.append(msg).newline();
             matchExisting = matchOldEnv = false;
         }
-        if (!matchExisting && !matchOldEnv)
+        if (!existingClusterGroup || (!matchExisting && !matchOldEnv))
         {
             VStringBuffer msg("New cluster layout for cluster %s", gname.str());
             WARNLOG("%s", msg.str());