HBASE-22845 Revert MetaTableAccessor#makePutFromTableState access to public (#489)
HBCK2 is dependent on it
This commit is contained in:
parent
8c1edb3bba
commit
e69af5affe
|
@ -1655,7 +1655,7 @@ public class MetaTableAccessor {
|
||||||
* Construct PUT for given state
|
* Construct PUT for given state
|
||||||
* @param state new state
|
* @param state new state
|
||||||
*/
|
*/
|
||||||
private static Put makePutFromTableState(TableState state, long ts) {
|
public static Put makePutFromTableState(TableState state, long ts) {
|
||||||
Put put = new Put(state.getTableName().getName(), ts);
|
Put put = new Put(state.getTableName().getName(), ts);
|
||||||
put.addColumn(getTableFamily(), getTableStateColumn(), state.convert().toByteArray());
|
put.addColumn(getTableFamily(), getTableStateColumn(), state.convert().toByteArray());
|
||||||
return put;
|
return put;
|
||||||
|
|
Loading…
Reference in New Issue