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:30 UTC
[2/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/bc4a9884
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/bc4a9884
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/bc4a9884
Branch: refs/heads/3.2
Commit: bc4a9884896d65e9abcd40db91df47fd5768be25
Parents: 8b460b5
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:38 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/bc4a9884/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 557f6d4..f6791f6 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
@@ -1312,7 +1312,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