cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12901) Repair may hang if node dies during sync
Date Wed, 16 Nov 2016 15:53:58 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-12901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670794#comment-15670794
] 

Yuki Morishita commented on CASSANDRA-12901:
--------------------------------------------

Can we blindly remove endpoints from failed session like below?:

{code}
// After repair session completes, notify client its result
Futures.addCallback(session, new FutureCallback<RepairSessionResult>()
{
...
  public void onFailure(Throwable t)
  {
    ...
    allNeighbors.removeAll(session.endpoints);
    ...
  }
}
{code}

(we need to make {{allNeighbors}} set to be thread safe also)

> Repair may hang if node dies during sync
> ----------------------------------------
>
>                 Key: CASSANDRA-12901
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12901
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Streaming and Messaging
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>
> Since the repair coordinator unregisters from the FD after validation (CASSANDRA-3569),
if the initiator of a RemoteSyncTask fails, the coordinator will never know the sync task
failed and hang.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message