You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by gr...@apache.org on 2014/11/04 22:00:32 UTC
[4/5] git commit: PHOENIX-1403 Correct synchronization in
ConnectionQueryServicesImpl.init
PHOENIX-1403 Correct synchronization in ConnectionQueryServicesImpl.init
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/dd659bb4
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/dd659bb4
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/dd659bb4
Branch: refs/heads/4.2
Commit: dd659bb481437e985609348913d7e4cdd968e2b7
Parents: e0c7602
Author: Gabriel Reid <ga...@ngdata.com>
Authored: Tue Nov 4 13:45:19 2014 +0100
Committer: Gabriel Reid <gr...@apache.org>
Committed: Tue Nov 4 21:59:53 2014 +0100
----------------------------------------------------------------------
.../java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/phoenix/blob/dd659bb4/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index 21208b5..aeb9ac2 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -1498,7 +1498,7 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices implement
}
return null;
}
- synchronized (this) {
+ synchronized (ConnectionQueryServicesImpl.this) {
if (initialized) {
if (initializationException != null) {
// Throw previous initialization exception, as we won't resuse this instance