[
https://issues.apache.org/jira/browse/TRAFODION-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572249#comment-16572249
]
ASF GitHub Bot commented on TRAFODION-3180:
-------------------------------------------
Github user arvind-narain commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1685#discussion_r208368992
--- Diff: core/sql/common/IpcGuardian.cpp ---
@@ -4135,13 +4131,9 @@ void IpcGuardianServer::useProcess(ComDiagsArea
**diags,
short i = 0;
while (i < 3)
{
- short gprc = 0;
- procHandle = get_phandle_with_retry(tmpProcessName, &gprc);
- if (procHandle != NULL)
- rc = 0;
- else
- rc = gprc;
- if ((rc != 0) || (procHandle == NULL))
+ int gprc = 0;
+ gprc = get_phandle_with_retry(tmpProcessName, &procHandle);
+ if (rc != FEOK)
--- End diff --
Should rc be set first or use gprc ?
> At times establishing a JDBC/ODBC connection takes observably long time
> -----------------------------------------------------------------------
>
> Key: TRAFODION-3180
> URL: https://issues.apache.org/jira/browse/TRAFODION-3180
> Project: Apache Trafodion
> Issue Type: Bug
> Components: sql-exe
> Affects Versions: any
> Reporter: Selvaganesan Govindarajan
> Assignee: Selvaganesan Govindarajan
> Priority: Major
> Fix For: 2.4
>
>
> When it takes time, DCS master status page shows the link between driver and
> the mxosrvr process is in CONNECTING state. After 30 seconds or a minute, the
> connection is established. This issue was observed at a customer installation
> when Trafodion cluster has been up and running for months.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)