HBASE-25758 Move MetaTableAccessor out of hbase-balancer module (#3309)

Signed-off-by: Yulin Niu <niuyulin@apache.org>
This commit is contained in:
Duo Zhang 2021-05-28 09:19:07 +08:00 committed by GitHub
parent c88ae3add8
commit ed8df5eded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -73,7 +73,7 @@ import org.slf4j.LoggerFactory;
* family. The column family currently has one column in it, the 'state' column:
*
* <pre>
* table:state => contains table state
* table:state =&gt; contains table state
* </pre>
*
* For the catalog family, see the comments of {@link CatalogFamilyFormat} for more details.
@ -747,11 +747,12 @@ public final class MetaTableAccessor {
}
/**
* Adds daughter region infos to hbase:meta row for the specified region. Note that this does not
* add its daughter's as different rows, but adds information about the daughters in the same row
* as the parent. Use
* {@link #splitRegion(Connection, RegionInfo, long, RegionInfo, RegionInfo, ServerName, int)} if
* you want to do that.
* Adds daughter region infos to hbase:meta row for the specified region.
* <p/>
* Note that this does not add its daughter's as different rows, but adds information about the
* daughters in the same row as the parent. Now only used in snapshot. Use
* {@link org.apache.hadoop.hbase.master.assignment.RegionStateStore} if you want to split a
* region.
* @param connection connection we're using
* @param regionInfo RegionInfo of parent region
* @param splitA first split daughter of the parent regionInfo