Change return code to OB_STATE_NOT_MATCH to avoid px hang

This commit is contained in:
Hongqin-Li
2023-03-22 12:15:33 +00:00
committed by ob-robot
parent 904210a048
commit a90eb7f6ef

View File

@ -894,6 +894,9 @@ int ObPxSubCoord::end_ddl(const bool need_commit)
}
LOG_INFO("end ddl sstable", K(ret), K(need_commit));
}
if (OB_EAGAIN == ret) {
ret = OB_STATE_NOT_MATCH; // avoid px hang
}
return ret;
}