[ https://issues.apache.org/jira/browse/TRAFODION-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197965#comment-15197965 ]
ASF GitHub Bot commented on TRAFODION-1885: ------------------------------------------- Github user DaveBirdsall commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/385#discussion_r56398349 --- Diff: core/sqf/monitor/linux/cmsh.cxx --- @@ -127,11 +127,14 @@ int CCmsh::GetClusterState( PhysicalNodeNameMap_t &physicalNodeMap ) it = physicalNodeMap.find( nodeName.c_str() ); if (it != physicalNodeMap.end()) { - // TEST_POINT: to force state down on node name + // TEST_POINT and Exclude List : to force state down on node name const char *downNodeName = getenv( TP001_NODE_DOWN ); - if ( downNodeName != NULL && - !strcmp( downNodeName, nodeName.c_str() ) ) - { + const char *downNodeList = getenv( TRAF_EXCLUDE_LIST ); + if (( downNodeList != NULL && + (strstr(downNodeList,nodeName.c_str()))) || --- End diff -- I suppose TRAF_EXCLUDE_LIST is a debugging tool. It occurs to me though that strstr() could return false positives, for example if there were two nodes n001.x.y and another nn001.x.y. If nn001.x.y were in the list, strstr of n001.x.y would return true. But maybe we don't care about this for debugging purposes? > Online node expansion > --------------------- > > Key: TRAFODION-1885 > URL: https://issues.apache.org/jira/browse/TRAFODION-1885 > Project: Apache Trafodion > Issue Type: Improvement > Components: foundation > Reporter: Trina Krug > Assignee: Trina Krug > > Need the ability to add nodes without an outage. -- This message was sent by Atlassian JIRA (v6.3.4#6332)