HBASE-14605 Addendum restores two methods in SplitTransactionImpl

This commit is contained in:
Andrew Purtell 2015-10-30 09:09:47 -07:00
parent 51f5412a92
commit bd4addcedf
1 changed files with 12 additions and 0 deletions

View File

@ -214,6 +214,11 @@ public class SplitTransactionImpl implements SplitTransaction {
private static IOException closedByOtherException = new IOException(
"Failed to close region: already closed by another thread");
/* package */PairOfSameType<Region> createDaughters(final Server server,
final RegionServerServices services) throws IOException {
return createDaughters(server, services, null);
}
/**
* Prepare the regions and region files.
* @param server Hosting server instance. Can be null when testing (won't try
@ -579,6 +584,13 @@ public class SplitTransactionImpl implements SplitTransaction {
return regions;
}
@Deprecated
public PairOfSameType<Region> stepsAfterPONR(final Server server,
final RegionServerServices services, final PairOfSameType<Region> regions)
throws IOException {
return stepsAfterPONR(server, services, regions, null);
}
public PairOfSameType<Region> stepsAfterPONR(final Server server,
final RegionServerServices services, final PairOfSameType<Region> regions, User user)
throws IOException {