check if we should persist a state change in meta . generally it 's better to persist all state changes . however , we should not do that if the region is not in meta at all . based on the state and the previous state , we can identify if a user region has an entry in meta . for example , merged regions are deleted from meta ; new merging parents , or splitting daughters are not created in meta yet . concode_field_sep Server server concode_elem_sep MultiHConnection multiHConnection concode_elem_sep char META_REPLICA_ID_DELIMITER concode_elem_sep boolean initialized concode_elem_sep Log LOG concode_elem_sep Region metaRegion concode_field_sep ServerName getRegionServer concode_elem_sep void mergeRegions concode_elem_sep void updateRegionState concode_elem_sep byte[] getServerNameColumn concode_elem_sep void stop concode_elem_sep byte[] getStateColumn concode_elem_sep void start concode_elem_sep void splitRegion concode_elem_sep State getRegionState
boolean function ( HRegionInfo arg0 , RegionState arg1 , RegionState arg2 ) { return ! arg0 . isMetaRegion ( ) && ! RegionStates . isOneOfStates ( arg1 , State . MERGING_NEW , State . SPLITTING_NEW , State . MERGED ) && ! ( RegionStates . isOneOfStates ( arg1 , State . OFFLINE ) && RegionStates . isOneOfStates ( arg2 , State . MERGING_NEW , State . SPLITTING_NEW , State . MERGED ) ) ; }