phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karanmehta93 <...@git.apache.org>
Subject [GitHub] phoenix pull request #277: PHOENIX-3757 System mutex table not being created...
Date Wed, 25 Oct 2017 20:11:26 GMT
Github user karanmehta93 commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/277#discussion_r146972829
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
---
    @@ -3195,6 +3255,18 @@ public boolean releaseUpgradeMutex(byte[] mutexRowKey) {
             return released;
         }
     
    +    private byte[] getSysMutexPhysicalTableNameBytes() throws IOException, SQLException
{
    +        byte[] sysMutexPhysicalTableNameBytes = null;
    +        try(HBaseAdmin admin = getAdmin()) {
    +            if(admin.tableExists(PhoenixDatabaseMetaData.SYSTEM_MUTEX_NAME_BYTES)) {
    --- End diff --
    
    Added it in a new commit.


---

Mime
View raw message