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

Add latency metrics for dropped messages

    XMLWordPrintableJSON

Details

    Description

      In our production cluster, we are seeing a large number of dropped mutations. At a minimum, we should print the time the thread took to get scheduled thereby dropping the mutation (We should also print the Message / Mutation so it helps in figuring out which column family was affected). This will help find the right tuning parameter for write_timeout_in_ms.

      The change is small and is in StorageProxy.java and MessagingTask.java. I will submit a patch shortly.

      Attachments

        1. 0001-Metrics.patch
          11 kB
          Anubhav Kale
        2. 10580.patch
          5 kB
          Anubhav Kale
        3. 10580-Metrics.patch
          11 kB
          Anubhav Kale
        4. 2.2-All-Comments.patch
          10 kB
          Anubhav Kale
        5. CASSANDRA-10580-Head.patch
          5 kB
          Anubhav Kale
        6. Trunk.patch
          7 kB
          Anubhav Kale
        7. Trunk-All-Comments.patch
          11 kB
          Anubhav Kale

        Activity

          People

            anubhavk Anubhav Kale
            anubhavk Anubhav Kale
            Anubhav Kale
            Paulo Motta
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: