فهرست منبع

HPCC-14956 ConfigMgr crashes when using wizard

    - The wizard uses the clusters defined in genenvrules.conf to
      create the default clusters.  When roxie or thor is not in the
      generated environment, clusters containing those components should
      be skipped.

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Gleb Aronsky 9 سال پیش
والد
کامیت
43715ad0de
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      deployment/deployutils/wizardInputs.cpp

+ 3 - 0
deployment/deployutils/wizardInputs.cpp

@@ -1092,6 +1092,9 @@ void CWizardInputs::checkForDependencies()
       if((!strcmp(buildSetName,"roxie") && m_roxieNodes == 0 )|| (!strcmp(buildSetName,"thor")&& m_thorNodes == 0)){
           numOfNodesNeeded = 0;
           m_doNotGenComp.append(buildSetName);
+          m_compForTopology.remove("thor_roxie");
+          if (!strcmp(buildSetName,"thor"))
+             m_compForTopology.remove("thor");
       }
 
       if(numOfNodesNeeded == 0 || (m_doNotGenComp.find(buildSetName) != NotFound))