Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-3577

TimeoutException When using QuorumEach or ALL consistency on Multi-DC

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.8.9, 1.0.6, 1.1.0
    • None
    • None
    • JVM

    • Normal

    Description

      Currently we have
      1) StorageProxy.sendMessages() sending messages to the first node in the other DC...
      2) A node in the other DC will remove the ForwardHeader and sendRR (Adding a MessageID to the Queue).
      3) The receiving node receives the mutation, updates and sends the response to the Original Co-ordinator.
      4) Co-Ordinator now checks for the MessageID (which it never had)

      All the Quorum_Each updates fail in the co-ordinator, this issue started showing up after CASSANDRA-3472 the code was introduced in CASSANDRA-2138 .

      Simple Fix is to remove the optimization in 0.8 and fix it in 1.x because it seems to me like it needs a change to the Message service version.

      Possible Solution: We might want send the message ID's to be used by the all the nodes in other DC (Which is currently generated by the node which receives the Forward request see: (2) ).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vijay2win@yahoo.com Vijay Assign to me
            vijay2win@yahoo.com Vijay
            Vijay
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment