@Override
  protected void serializeStateData(ProcedureStateSerializer serializer) throws IOException {
    super.serializeStateData(serializer);
    MasterProcedureProtos.RecoverMetaStateData.Builder state =
      MasterProcedureProtos.RecoverMetaStateData.newBuilder().setShouldSplitWal(shouldSplitWal);
    if (failedMetaServer != null) {
      state.setFailedMetaServer(ProtobufUtil.toServerName(failedMetaServer));
    }
    state.setReplicaId(replicaId);
    serializer.serialize(state.build());
  }
Leave here only for checking if we can successfully start the master.
@deprecated Do not use any more, leave it here only for compatible. The recovery work will be
            done in {@link ServerCrashProcedure} directly, and the initial work for meta table
            will be done by {@link InitMetaProcedure}.
@see ServerCrashProcedure
@see InitMetaProcedure
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.java