HBASE-20190 Fix default for MIGRATE_TABLE_STATE_FROM_ZK_KEY

This commit is contained in:
Michael Stack 2018-03-13 17:52:44 -07:00
parent 95596e8ba7
commit e0bdc87b27
No known key found for this signature in database
GPG Key ID: 9816C7FC8ACC93D2
1 changed files with 2 additions and 1 deletions

View File

@ -270,7 +270,8 @@ public class TableStateManager {
*/ */
@Deprecated @Deprecated
private void migrateZooKeeper() throws IOException { private void migrateZooKeeper() throws IOException {
if (this.master.getConfiguration().getBoolean(MIGRATE_TABLE_STATE_FROM_ZK_KEY, false)) { if (!this.master.getConfiguration().getBoolean(MIGRATE_TABLE_STATE_FROM_ZK_KEY,
true)) {
return; return;
} }
try { try {