Github user ankitsinghal commented on a diff in the pull request: https://github.com/apache/phoenix/pull/313#discussion_r206736061 --- Diff: phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java --- @@ -2723,13 +2712,10 @@ private void createOtherSystemTables(PhoenixConnection metaConnection, HBaseAdmi try { metaConnection.createStatement().executeUpdate(getChildLinkDDL()); } catch (TableAlreadyExistsException e) {} - // Catch the IOException to log the error message and then bubble it up for the client to retry. try { - createSysMutexTableIfNotExists(hbaseAdmin); - } catch (IOException exception) { - logger.error("Failed to created SYSMUTEX table. Upgrade or migration is not possible without it. Please retry."); - throw exception; - } + metaConnection.createStatement().executeUpdate(getMutexDDL()); --- End diff -- Shouldn't the mutex table available and have acquired a mutex already for the upgrade before you call createOtherSystemTables
---