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

nodetool compactionstats showing extra pending task for TWCS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Review In Progress
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 3.11.6, 4.x
    • Component/s: Tool/nodetool
    • Labels:
      None
    • Bug Category:
      Correctness - Consistency
    • Severity:
      Low
    • Complexity:
      Normal
    • Discovered By:
      User Report
    • Platform:
      All
    • Impacts:
      None
    • Test and Documentation Plan:
      Hide

      The issues was successfully reproduced and then tested again after the patch, to confirm it is solved

      DTests passed too

      Show
      The issues was successfully reproduced and then tested again after the patch, to confirm it is solved DTests passed too

      Description

      Summary: nodetool compactionstats showing extra pending task for TWCS
      -----------------
      The output of nodetool compactionstats}}can show "pending tasks: 1" when there are actually none. This seems to be a consistent problem in testing C* trunk. In my testing, it looks like the {{nodetool compactionstats counter output is consistently off by 1 as compared to the table output of the tasks

       

      testing with concurrent_compactors: 8

      In 12 hours it never ended, always showing 1 pending job

       

        Attachments

          Activity

            People

            • Assignee:
              e.dimitrova Ekaterina Dimitrova
              Reporter:
              e.dimitrova Ekaterina Dimitrova
              Authors:
              Ekaterina Dimitrova
              Reviewers:
              Stefania Alborghetti
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: