Github user twdsilva commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/313#discussion_r206411967
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java ---
@@ -3604,6 +3681,18 @@ public MutationState addColumn(PTable table,
List<ColumnDef> origColumnDefs,
}
} finally {
connection.setAutoCommit(wasAutoCommit);
+ if (acquiredMutex && !columns.isEmpty()) {
--- End diff --
@ankitsinghal Sorry, I didn't update the PR with all my latest changes, I
fixed this. Can you please review?
---