Impala Public Jenkins has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/24416 )

Change subject: IMPALA-15079: Cleanup Open/Close locking in SharedJdbcConnection
......................................................................

IMPALA-15079: Cleanup Open/Close locking in SharedJdbcConnection

Changes:
- simplified Open() logic which waited on condition_variable
  without any benefit
- renamed open_mu_ to lock_ which is the usual name in Impala
- changed ref_count_ from atomic to simple int protected by lock_
  as it is not used frequently

Change-Id: Ic9f5c4ac71031b74b51bfa27ed04be10ed92e222
Reviewed-on: http://gerrit.cloudera.org:8080/24416
Reviewed-by: Csaba Ringhofer <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M be/src/exec/data-source-scan-node.cc
M be/src/exec/data-source-scan-node.h
2 files changed, 27 insertions(+), 32 deletions(-)

Approvals:
  Csaba Ringhofer: Looks good to me, approved
  Impala Public Jenkins: Verified

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic9f5c4ac71031b74b51bfa27ed04be10ed92e222
Gerrit-Change-Number: 24416
Gerrit-PatchSet: 4
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Pranav Lodha <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to