cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaydeepkumar Chovatia (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-14674) Repair Validation message request could get stuck forever at sender side
Date Wed, 29 Aug 2018 16:54:00 GMT
Jaydeepkumar Chovatia created CASSANDRA-14674:

             Summary: Repair Validation message request could get stuck forever at sender
                 Key: CASSANDRA-14674
             Project: Cassandra
          Issue Type: Bug
          Components: Repair
            Reporter: Jaydeepkumar Chovatia
            Assignee: Jaydeepkumar Chovatia

Validation request message as part of repair are currently sent as [sendOneWay|] and
then it waits at [Futures.getUnchecked|]].
If sender doesn’t hear back from receiver for whatever reason then thread is blocked forever.
I’ve reproduced following stack trace at sender side by deliberately ignoring [VALIDATION_REQUST|]
at receiver side.
"Repair#1:1" #301 daemon prio=5 os_prio=0 tid=0x00007f5a62060800 nid=0x13198 waiting on condition
 java.lang.Thread.State: WAITING (parking)
 at sun.misc.Unsafe.park(Native Method)
 parking to wait for <0x00000005c6ba9630> (a$Sync)
 at java.util.concurrent.locks.LockSupport.park(
 at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(
 at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(
 at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(
 at java.util.concurrent.ThreadPoolExecutor.runWorker(
 at java.util.concurrent.ThreadPoolExecutor$
 at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(
 at org.apache.cassandra.concurrent.NamedThreadFactory$$Lambda$3/ Source)

AFAIK we should be using {{sendRR}} for this instead of {{sendOneWay}}. Please let me know
if my understanding is correct or not.

I am working on a fix to make it {{sendRR}}.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message