You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2016/06/27 10:28:52 UTC

[jira] [Created] (FLINK-4123) CassandraWriteAheadSink can hang on cassandra failure

Chesnay Schepler created FLINK-4123:
---------------------------------------

             Summary: CassandraWriteAheadSink can hang on cassandra failure
                 Key: FLINK-4123
                 URL: https://issues.apache.org/jira/browse/FLINK-4123
             Project: Flink
          Issue Type: Bug
          Components: Cassandra Connector
    Affects Versions: 1.1.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
            Priority: Blocker
             Fix For: 1.1.0


The CassandraWriteAheadSink verifies that all writes send to cassandra have been applied by counting how many were sent and how many callbacks were activated. Once all writes were sent the sink enters into a loop that is only exited once both counts are equal.

Thus, should cassandra crash after all writes were sent, without having acknowledged all writes, the sink will deadlock in the loop.



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