Cassandra
  1. Cassandra
  2. CASSANDRA-2943

add ability to drop local tasks that will timeout anyway

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 0.8.3
    • Component/s: None
    • Labels:
      None

      Description

      back in CASSANDRA-685 we added the ability to drop messages that we know are going to timeout, as a protection when Cassandra is overloaded. But this logic is in MessageDeliveryTask, so when we skip MessagingService as an optimization for local delivery, we also skip the timeout check.

      1. 2943.txt
        3 kB
        Jonathan Ellis

        Activity

        Jonathan Ellis created issue -
        Hide
        Jonathan Ellis added a comment -

        Adds DroppableRunnable class.

        Show
        Jonathan Ellis added a comment - Adds DroppableRunnable class.
        Jonathan Ellis made changes -
        Field Original Value New Value
        Attachment 2943.txt [ 12487579 ]
        Jonathan Ellis made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Brandon Williams added a comment -

        +1

        Show
        Brandon Williams added a comment - +1
        Hide
        Jonathan Ellis added a comment -

        committed

        Show
        Jonathan Ellis added a comment - committed
        Jonathan Ellis made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.8.3 [ 12317246 ]
        Fix Version/s 0.8.2 [ 12316645 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Cassandra-0.8 #238 (See https://builds.apache.org/job/Cassandra-0.8/238/)
        add ability to drop local reads/writes that are going to timeout
        patch by jbellis; reviewed by brandonwilliams for CASSANDRA-2943

        jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1150837
        Files :

        • /cassandra/branches/cassandra-0.8/CHANGES.txt
        • /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageProxy.java
        Show
        Hudson added a comment - Integrated in Cassandra-0.8 #238 (See https://builds.apache.org/job/Cassandra-0.8/238/ ) add ability to drop local reads/writes that are going to timeout patch by jbellis; reviewed by brandonwilliams for CASSANDRA-2943 jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1150837 Files : /cassandra/branches/cassandra-0.8/CHANGES.txt /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageProxy.java
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12621465 ] patch-available, re-open possible [ 12751713 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12751713 ] reopen-resolved, no closed status, patch-avail, testing [ 12755031 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        1m 8s 1 Jonathan Ellis 23/Jul/11 05:37
        Patch Available Patch Available Resolved Resolved
        2d 14h 3m 1 Jonathan Ellis 25/Jul/11 19:41

          People

          • Assignee:
            Jonathan Ellis
            Reporter:
            Jonathan Ellis
            Reviewer:
            Brandon Williams
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development