From 22abc56a4799ed5c6943ba81187b22561351188c Mon Sep 17 00:00:00 2001 From: Vitaly Baranov Date: Thu, 12 Dec 2024 17:21:53 +0100 Subject: [PATCH] Add comment. --- src/Interpreters/ProcessList.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Interpreters/ProcessList.h b/src/Interpreters/ProcessList.h index 799309541ee..acfa96326c7 100644 --- a/src/Interpreters/ProcessList.h +++ b/src/Interpreters/ProcessList.h @@ -48,6 +48,9 @@ enum CancelReason UNDEFINED, TIMEOUT, CANCELLED_BY_USER, + + /// CANCELLED_BY_ERROR means that there were parallel processes/threads and some of them failed, + /// so we cancel other processes/threads with this cancel reason. CANCELLED_BY_ERROR, };