By checking into the source code:
StorageService:
public void forceTerminateAllRepairSessions() {
ActiveRepairService.instance.terminateSessions();
}
ActiveRepairService:
public void terminateSessions()
{
for (RepairSession session : sessions.values())
{
session.forceShutdown();
}
parentRepairSessions.clear();
}
RepairSession:
public void forceShutdown()
{
taskExecutor.shutdownNow();
differencingDone.signalAll();
completed.signalAll();
}
On Fri, Nov 14, 2014 at 4:01 AM, Di, Jieming <[email protected]> wrote:
> Hi There,
>
>
>
> I have a question about Cassandra node repair, there is a function called
> âforceTerminateAllRepairSessions();â, so will the function terminate all
> the repair session in only one node, or it will terminate all the session
> in a ring? And when it terminates all repair sessions, does it just
> terminate it immediately or it just send a terminate signal, and do the
> real terminate later? Thanks a lot.
>
>
>
> Regards,
>
> -Jieming-
>
>
>