[ https://issues.apache.org/jira/browse/HBASE-17075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15658462#comment-15658462 ]
Stephen Yuan Jiang commented on HBASE-17075: -------------------------------------------- TruncateTableHandler is unused in 1.1.x release (it is replaced by TruncateTableProcedure in HBASE-13455). [~sreenivasulureddy], the code you change would not be executed in 1.1.x code base. In the TruncateTableProcedure, the state was cleaned correctly: {code} case TRUNCATE_TABLE_REMOVE_FROM_META: hTableDescriptor = env.getMasterServices().getTableDescriptors().get(tableName); DeleteTableProcedure.deleteFromMeta(env, getTableName(), regions); DeleteTableProcedure.deleteAssignmentState(env, getTableName()); ........ {code} [~sreenivasulureddy], did you see a problem from your cluster, or just read the code? > Old regionStates are not clearing for truncated tables > ------------------------------------------------------- > > Key: HBASE-17075 > URL: https://issues.apache.org/jira/browse/HBASE-17075 > Project: HBase > Issue Type: Bug > Components: Region Assignment > Affects Versions: 1.1.8 > Reporter: Y. SREENIVASULU REDDY > Priority: Minor > Fix For: 1.1.8 > > Attachments: HBASE-17075-branch-1.1.patch, HBASE-17075.001.patch > > > For truncated tables, not clearing the region states from master in-memory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)