Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Operability
-
Normal
-
All
-
None
-
Description
It would be very handy to have a percentage column in system_views.sstable_tasks which would say how far a respective task is.
Indeed, there are currently "progress" and "total" columns but honestly, for every day usage, it is rather strange to expect that humans will divide these numbers in head if they want to roughly know what the overall progress is. One just does not have a rough estimation of the task progress when he is presented with two quite big numbers and to estimate the progress from the.
In the following output, the field "progress_in_percents" is introduced.
PR is here https://github.com/apache/cassandra/pull/566
admin@cqlsh> select * from system_views.sstable_tasks ; @ Row 1 -----------------------+-------------------------------------- keyspace_name | mykeyspace table_name | mytable task_id | 0db5d9b1-8726-11ea-8a6c-b92f3be367bb kind | secondary index build progress | 19456965 progress_in_percents | 8.17 total | 238208674 unit | bytes @ Row 2 ----------------------+-------------------------------------- keyspace_name | mykeyspace table_name | mytable.mytable_surname_idx task_id | 1817ee71-8726-11ea-8a6c-b92f3be367bb kind | compaction progress | 284396233 progress_in_percents | 75.92 total | 374598446 unit | bytes
Attachments
Issue Links
- is related to
-
CASSANDRA-15406 Show the progress of data streaming and index build
- Resolved
-
CASSANDRA-16976 Make nodetool compactionstats and sstable_tasks consistent
- Resolved