selvaganesang commented on a change in pull request #1786: [TRAFODION-3260]
SSMP may wait 3 seconds before handling requests
URL: https://github.com/apache/trafodion/pull/1786#discussion_r252517219
##########
File path: core/sql/runtimestats/ssmpipc.cpp
##########
@@ -540,7 +540,7 @@ static Int64 SikGcInterval = -1;
void SsmpGlobals::work()
{
- getIpcEnv()->getAllConnections()->waitOnAll(getStatsMergeTimeout());
+ getIpcEnv()->getAllConnections()->waitOnAll(0);
Review comment:
I got it now. My understanding is that we wait for openers or messages from
openers in XWAIT. If there are open messages, it is consumed at cc->wait(0) and
if there are messages from openers it is consumed here. But we wake up every 3
seconds to do bookkeeping.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services