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

nodetool listsnapshots is missing local system keyspace snapshots

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • Legacy/Core
    • MacOs 10.12.5

      Java 1.8.0_144

      Cassandra 3.11.2 (brew install)

    • Normal

    Description

      The output of nodetool listsnapshots is inconsistent with the snapshots created :

      $ nodetool listsnapshots
      Snapshot Details:
      There are no snapshots
      
      $ nodetool snapshot -t tag1 --table local system
      Requested creating snapshot(s) for [system] with snapshot name [tag1] and options {skipFlush=false}
      Snapshot directory: tag1
      
      $ nodetool snapshot -t tag2 --table local system
      Requested creating snapshot(s) for [system] with snapshot name [tag2] and options {skipFlush=false}
      Snapshot directory: tag2
      
      $ nodetool listsnapshots
      Snapshot Details:
      There are no snapshots
      
      $ ls /usr/local/var/lib/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/snapshots/
      tag1 tag2

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            cscetbon Cyril Scetbon
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: