phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gr...@apache.org
Subject [3/5] git commit: PHOENIX-1403 Correct synchronization in ConnectionQueryServicesImpl.init
Date Tue, 04 Nov 2014 21:00:31 GMT
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/37c4d3eb
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/37c4d3eb
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/37c4d3eb

Branch: refs/heads/4.0
Commit: 37c4d3eb93bf8ffd139d397530a1ac5994fc9e48
Parents: 623a784
Author: Gabriel Reid <gabrielr@ngdata.com>
Authored: Tue Nov 4 13:45:19 2014 +0100
Committer: Gabriel Reid <greid@apache.org>
Committed: Tue Nov 4 21:59:46 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/37c4d3eb/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


Mime
View raw message