Score:0

Finding pending cassandra pending compactions information

je flag

I am trying to understand the pending compaction statistics that are displayed by cassandra nodetool that can be seen two ways. I am on cassandra 3.11.3. Why would the compaction statistics be different in nodetool tpstats and nodetool compactionstats . I see outputs

$ nodetool tpstats
Pool Name                         Active   Pending      Completed   Blocked  All time blocked
ReadStage                              0         0         376576         0                 0
MiscStage                              0         0              0         0                 0
CompactionExecutor                     4       874        3166883         0                 0
MutationStage                          0         1    28160412450         0                 0
nodetool compactionstats
pending tasks: 26
- system.sstable_activity: 1

The output of tpstats shows 874 compaction tasks but when I check what are the pending tasks, I see only 26 with the other command. How can I find what are the other (874-26) compaction tasks that cassandra is working on.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.