[ https://issues.apache.org/jira/browse/HBASE-13470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sophia Feng updated HBASE-13470: -------------------------------- Attachment: HBASE-13470-v3.patch HBASE-13470-v3.patch uploaded to review board. Test passed on secure/unsecure 7-node distributed clusters. HBASE-13470-v3.patch made the following fix: loose restriction for {{TableNotDisabledException/TableNotEnabledException}} thrown in sync operations, because 1. when enable/disable starts, the table state is changed to ENABLING/DISABLING (ZK node in 1.x), which will be further changed to ENABLED/DISABLED once the operation completes 2. if master failover happens in the middle of the enable/disable operation, the new master will try to recover the tables in ENABLING/DISABLING state, as programmed in AssignmentManager#recoverTableInEnablingState() and AssignmentManager#recoverTableInDisablingState() 3. after the new master initialization completes, the procedure tries to re-do the enable/disable operation, which was already done Ignore those exceptions before change of behaviors of AssignmentManager in presence of PV2 > High level Integration test for master DDL operations > ----------------------------------------------------- > > Key: HBASE-13470 > URL: https://issues.apache.org/jira/browse/HBASE-13470 > Project: HBase > Issue Type: Sub-task > Components: master > Reporter: Enis Soztutar > Assignee: Sophia Feng > Fix For: 2.0.0, 1.2.0, 1.1.1 > > Attachments: HBASE-13470-v0.patch, HBASE-13470-v1.patch, > HBASE-13470-v2.patch, HBASE-13470-v3.patch > > > Our [~fengs] has an integration test which executes DDL operations with a new > monkey to kill the active master as a high level test for the proc v2 > changes. > The test does random DDL operations from 20 client threads. The DDL > statements are create / delete / modify / enable / disable table and CF > operations. It runs HBCK to verify the end state. > The test can be run on a single master, or multi master setup. -- This message was sent by Atlassian JIRA (v6.3.4#6332)