Riza Suminto has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/19157 )

Change subject: IMPALA-11674: Fix timeout detection for TSSLSocket
......................................................................


Patch Set 3:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/19157/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/19157/1//COMMIT_MSG@53
PS1, Line 53:   the second query complete without error.
> Run same test without SSL and make sure it works as expected.
Done


http://gerrit.cloudera.org:8080/#/c/19157/1/be/src/rpc/thrift-util.cc
File be/src/rpc/thrift-util.cc:

http://gerrit.cloudera.org:8080/#/c/19157/1/be/src/rpc/thrift-util.cc@256
PS1, Line 256: ifically, "THRIFT_EAGAIN (timed out)" from TSocket.cpp,
             :   // and "THRIFT_POLL (timed out)" from TSSLSocket.cpp.
             :   return (e.getType() == TTransportException::TIMED_OUT
             :       && strstr(e.what(), "(timed out)") != nullptr);
> Could we simplify as "(e.getType() == TTransportException::TIMED_OUT &&
Done



--
To view, visit http://gerrit.cloudera.org:8080/19157
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6ad168a1c96d751a3c50d924e6ecaf6404e589ab
Gerrit-Change-Number: 19157
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Thu, 20 Oct 2022 15:08:05 +0000
Gerrit-HasComments: Yes

Reply via email to