5ece9cefea
This patch rewrites incorrectly serialized table descriptors and states from HBASE-26021 into PBs prior to the incompatible change. The patch does this as a part of the active HMaster bootstrap. This approach is _not_ fool proof as it does not handle all the edge cases and may break certain rolling upgrade semantics. However it does provide a way out for tables created with 1.7.0 PB definitions and an upgrade path for 1.7.1. Easiest way is to shutdown the 1.7.0 cluster, reboot with 1.7.1 binaries and everything should work cleanly. However, rolling upgrade could potentially be broken as 1.7.0 client may not be compatible with 1.7.1 server. As noted in the jira, it is not possible that any one upgraded to 1.7.0 yet because they will run into HBASE-26021, however new clusters may have been created with 1.7.0 and hence they need an upgrade path. Tested locally: - Created a mix of enabled/disabled tables created with 1.7.0 - Upgraded the cluster without this patch, noticed deserialization errors - Upgraded the cluster with patch and table metadata has been re-serialized in correct format and table states are preserved. Signed-off-by: Reid Chan <reidchan@apache.org> |
||
---|---|---|
.. | ||
src | ||
pom.xml |