[ https://issues.apache.org/jira/browse/TRAFODION-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565907#comment-15565907 ]
ASF GitHub Bot commented on TRAFODION-2262: ------------------------------------------- Github user DaveBirdsall commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/754#discussion_r82833330 --- Diff: core/sql/qmscommon/QRLogger.cpp --- @@ -186,6 +188,9 @@ NABoolean QRLogger::initLog4cxx(const char* configFileName) { NAString logFileName; + if (gv_QRLoggerInitialized_) + return TRUE; + // get the log directory --- End diff -- I cannot figure out if this code is thread-safe. What if two threads concurrently enter this function and both see gv_QRLoggerInitialized_ as FALSE. Both would then call CommonLogger::initLog4cxx and possibly introduceSelf(). Is there any harm in this? > Mxosrvr or Java core with the stack trace pointing to log4Cxx functions > ----------------------------------------------------------------------- > > Key: TRAFODION-2262 > URL: https://issues.apache.org/jira/browse/TRAFODION-2262 > Project: Apache Trafodion > Issue Type: Bug > Components: sql-general > Reporter: Dennis Markt > Assignee: Selvaganesan Govindarajan > > There appears to be two types of cores generated but I can't seem to find the > other back trace you mentioned Selva. Please add the bt or more information > to make this Case more useful. > Thanks, > Dennis -- This message was sent by Atlassian JIRA (v6.3.4#6332)