add more debug logging if recovery thread got iterrupted
This commit is contained in:
parent
06fafa3ed9
commit
923ddcce42
|
@ -117,6 +117,7 @@ public class RecoveryStatus extends AbstractRefCounted {
|
|||
|
||||
/** set a thread that should be interrupted if the recovery is canceled */
|
||||
public void setWaitingRecoveryThread(Thread thread) {
|
||||
ensureRefCount();
|
||||
waitingRecoveryThread.set(thread);
|
||||
}
|
||||
|
||||
|
@ -160,6 +161,7 @@ public class RecoveryStatus extends AbstractRefCounted {
|
|||
|
||||
final Thread thread = waitingRecoveryThread.get();
|
||||
if (thread != null) {
|
||||
logger.debug("interrupting recovery thread on canceled recovery");
|
||||
thread.interrupt();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue