// partially enabled or disabled they will be processed as part of recovery
// enabling/disabling tables.
// if user table is in ENABLED state and index table is in DISABLED state means master
// restarted as soon as user table enabled. So here we need to enable index table.
if (zkTable.isEnabledTable(tableName) && zkTable.isDisabledTable(indexTableName)) {
new EnableTableHandler(master, Bytes.toBytes(indexTableName),
master.getCatalogTracker(), am, false).process();
} else if (zkTable.isDisabledTable(tableName) && zkTable.isEnabledTable(indexTableName)) {
// If user table is in DISABLED state and index table is in ENABLED state means master
// restarted as soon as user table disabled. So here we need to disable index table.
new DisableTableHandler(master, Bytes.toBytes(indexTableName),