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

Fixes for multi-datacenter writes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.7.1
    • None
    • None
    • Normal

    Description

      Copied from CASSANDRA-982:

      • Message::removeHeader
        message.setHeader(RowMutation.FORWARD_HEADER, null) throws NullPointerException
      • db/RowMutationVerbHandler::forwardToLocalNodes
        set correct destination address for sendOneWay
      • response(ReadResponse result) added to DatacenterReadCallback
        otherwise ReadCallback will process local results and condition will be never signaled in DatacenterReadCallback
      • FORWARD header removed in StorageProxy::sendMessages if dataCenter equals to localDataCenter
        (if a non local DC processed before local DC FORWARD header will be set when unhintedMessage used in sendToHintedEndpoints. one instance of Message used for unhintedMessage)

      Attachments

        1. 2051-2.txt
          3 kB
          Jonathan Ellis
        2. rep_fix_02.patch
          6 kB
          Jonathan Ellis

        Activity

          People

            ivancso ivan
            jbellis Jonathan Ellis
            ivan
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: