HBASE-18254 ServerCrashProcedure checks and waits for meta initialized, instead should check and wait for meta loaded
After enabling test hbase.master.procedure.TestServerCrashProcedure#testRecoveryAndDoubleExecutionOnRsWithMeta, this bug is found in ServerCrashProcedure Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
9cb5fc9825
commit
7cc458e129
|
@ -150,7 +150,7 @@ implements ServerProcedureInterface {
|
|||
|
||||
case SERVER_CRASH_GET_REGIONS:
|
||||
// If hbase:meta is not assigned, yield.
|
||||
if (env.getAssignmentManager().waitMetaInitialized(this)) {
|
||||
if (env.getAssignmentManager().waitMetaLoaded(this)) {
|
||||
throw new ProcedureSuspendedException();
|
||||
}
|
||||
|
||||
|
|
|
@ -93,7 +93,6 @@ public class TestServerCrashProcedure {
|
|||
}
|
||||
|
||||
@Test(timeout=60000)
|
||||
@Ignore // Fix for AMv2
|
||||
public void testRecoveryAndDoubleExecutionOnRsWithoutMeta() throws Exception {
|
||||
testRecoveryAndDoubleExecution(false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue