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

        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
        Hide
        Jonathan Ellis added a comment -

        committed

        Show
        Jonathan Ellis added a comment - committed
        Hide
        Brandon Williams added a comment -

        +1

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

        Adds DroppableRunnable class.

        Show
        Jonathan Ellis added a comment - Adds DroppableRunnable class.

          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