Browse Source

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 years ago
parent
commit
79f2b9e9fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dali/base/dadfs.cpp

+ 1 - 1
dali/base/dadfs.cpp

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