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

The pending tasks listed for the compaction pool is confusing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.6
    • Legacy/Tools
    • None
    • RHEL 4

    Description

      Using the build dated 29 Nov 09, the output from "nodeprobe tpstats" is confusing. The following observations were made with an idle server that was compacting to clean up after some writes that were done in the past. The number of pending tasks for COMPACTION-POOL starts at 1673, and after doing some work the number of pending tasks has increased to 1675. I'd prefer that the amount of pending work reported by tpstats decreases as work is done.

      > sh nodeprobe.sh tpstats
      Pool Name Active Pending Completed
      FILEUTILS-DELETE-POOL 0 0 872
      MESSAGING-SERVICE-POOL 0 0 0
      STREAM-STAGE 0 0 0
      RESPONSE-STAGE 0 0 662309
      ROW-READ-STAGE 0 0 662309
      LB-OPERATIONS 0 0 0
      COMMITLOG 1 0 1189659
      MESSAGE-DESERIALIZER-POOL 0 0 0
      GMFD 0 0 0
      LB-TARGET 0 0 0
      CONSISTENCY-MANAGER 0 0 0
      ROW-MUTATION-STAGE 0 0 1101916
      MESSAGE-STREAMING-POOL 0 0 0
      LOAD-BALANCER-STAGE 0 0 0
      FLUSH-SORTER-POOL 0 0 1723
      MEMTABLE-POST-FLUSHER 0 0 1723
      COMPACTION-POOL 1 1673 136
      FLUSH-WRITER-POOL 0 0 1723
      HINTED-HANDOFF-POOL 0 0 20
      > sh nodeprobe.sh tpstats
      Pool Name Active Pending Completed
      FILEUTILS-DELETE-POOL 0 0 872
      MESSAGING-SERVICE-POOL 0 0 0
      STREAM-STAGE 0 0 0
      RESPONSE-STAGE 0 0 662309
      ROW-READ-STAGE 0 0 662309
      LB-OPERATIONS 0 0 0
      COMMITLOG 1 0 1191173
      MESSAGE-DESERIALIZER-POOL 0 0 0
      GMFD 0 0 0
      LB-TARGET 0 0 0
      CONSISTENCY-MANAGER 0 0 0
      ROW-MUTATION-STAGE 0 0 1101916
      MESSAGE-STREAMING-POOL 0 0 0
      LOAD-BALANCER-STAGE 0 0 0
      FLUSH-SORTER-POOL 0 0 1723
      MEMTABLE-POST-FLUSHER 0 0 1723
      COMPACTION-POOL 1 1675 139
      FLUSH-WRITER-POOL 0 0 1723
      HINTED-HANDOFF-POOL 0 0 20
      ([[01;32mroot@localhost[[00m)[[01;34m~/rackspace-stuff/cassandra-0.5-pre[[00m>

      Attachments

        Activity

          People

            jbellis Jonathan Ellis
            tim freeman Tim Freeman
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: