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

Snapshot name merges with keyspace name shown by nodetool listsnapshots for snapshots with long names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.19
    • Tool/nodetool
    • None

    Description

      If snapshot name is long enough, it will merge keyspace name and the command output will be inconvenient to read for a nodetool user, e.g.

      bin/nodetool listsnapshots
      Snapshot Details:
      Snapshot name       Keyspace name                Column family name           True size          Size on disk
      1541670390886       system_distributed           parent_repair_history        0 bytes            13 bytes
      1541670390886       system_distributed           repair_history               0 bytes            13 bytes
      1541670390886       system_auth                  roles                        0 bytes            4.98 KB
      1541670390886       system_auth                  role_members                 0 bytes            13 bytes
      1541670390886       system_auth                  resource_role_permissons_index0 bytes            13 bytes
      1541670390886       system_auth                  role_permissions             0 bytes            13 bytes
      1541670390886       system_traces                sessions                     0 bytes            13 bytes
      1541670390886       system_traces                events                       0 bytes            13 bytes
      39_characters_long_name_2017-09-05-11-Usystem_distributed           parent_repair_history        0 bytes            13 bytes
      39_characters_long_name_2017-09-05-11-Usystem_distributed           repair_history               0 bytes            13 bytes
      39_characters_long_name_2017-09-05-11-Usystem_auth                  roles                        0 bytes            4.98 KB
      39_characters_long_name_2017-09-05-11-Usystem_auth                  role_members                 0 bytes            13 bytes
      39_characters_long_name_2017-09-05-11-Usystem_auth                  resource_role_permissons_index0 bytes            13 bytes
      39_characters_long_name_2017-09-05-11-Usystem_auth                  role_permissions             0 bytes            13 bytes
      39_characters_long_name_2017-09-05-11-Usystem_traces                sessions                     0 bytes            13 bytes
      39_characters_long_name_2017-09-05-11-Usystem_traces                events                       0 bytes            13 bytes
      41_characters_long_name_2017-09-05-11-UTCsystem_distributed           parent_repair_history        0 bytes            13 bytes
      41_characters_long_name_2017-09-05-11-UTCsystem_distributed           repair_history               0 bytes            13 bytes
      41_characters_long_name_2017-09-05-11-UTCsystem_auth                  roles                        0 bytes            4.98 KB
      41_characters_long_name_2017-09-05-11-UTCsystem_auth                  role_members                 0 bytes            13 bytes
      41_characters_long_name_2017-09-05-11-UTCsystem_auth                  resource_role_permissons_index0 bytes            13 bytes
      41_characters_long_name_2017-09-05-11-UTCsystem_auth                  role_permissions             0 bytes            13 bytes
      41_characters_long_name_2017-09-05-11-UTCsystem_traces                sessions                     0 bytes            13 bytes
      41_characters_long_name_2017-09-05-11-UTCsystem_traces                events                       0 bytes            13 bytes
      

      Attachments

        Issue Links

          Activity

            People

              Gerrrr Aleksandr Sorokoumov
              Gerrrr Aleksandr Sorokoumov
              Aleksandr Sorokoumov
              Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: