Core dumping by design for positioning the problem.

This commit is contained in:
obdev
2023-08-30 08:44:18 +00:00
committed by ob-robot
parent 66047a20bc
commit 2e0c56b797

View File

@ -358,6 +358,10 @@ int ObGranuleIteratorOp::rescan()
ret = OB_NOT_SUPPORTED;
LOG_USER_ERROR(OB_NOT_SUPPORTED, "rescan before all task in gi");
LOG_WARN("rescan before all task fetched", K(ret), K(state_));
// core dump by design:
#ifdef ENABLE_DEBUG_LOG
abort_unless(false);
#endif
}
}
if (OB_SUCC(ret)) {