This repository has been archived by the owner on Jun 7, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TRAFODION-3260] SSMP may wait 3 seconds before handling requests
Encapsulated the changes in the commit 2ee272b325d021 to Ipc layer. [TRAFODION-3274] At times sqlci or any other SQL process fails to come up and dumps core It looks like there is a race condition in C++ main function prologue while initializing the embedded global objects and the stdin, stdout and stderr file descriptors. File descriptor of value 2 is returned for epoll_create(). But, the error redirection code possibly used this fd to redirect overriding the epoll fd. This caused epoll_ctl to return EINVAL resulting in core dump of sql process. Changed the global object gv_sock_ctlr to a global object pointer.
- Loading branch information
selvaganesang
committed
Feb 12, 2019
1 parent
da9f32c
commit 95c2712
Showing
6 changed files
with
89 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.