[fix](mtmv) fix mtmv thread interruption issue (#18884)
This commit is contained in:
@ -306,7 +306,10 @@ public class MTMVJobManager {
|
||||
LOG.warn("fail to obtain scheduled info for job [{}]", job.getName());
|
||||
return true;
|
||||
}
|
||||
boolean isCancel = future.cancel(true);
|
||||
// MUST not set true for "mayInterruptIfRunning".
|
||||
// Because this thread may doing bdbje write operation, it is interrupted,
|
||||
// FE may exit due to bdbje write failure.
|
||||
boolean isCancel = future.cancel(false);
|
||||
if (!isCancel) {
|
||||
LOG.warn("fail to cancel scheduler for job [{}]", job.getName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user