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

Nodetool snapshot should provide an option to skip flushing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.4
    • Local/Config
    • PROD

    Description

      For some practical scenarios, it doesn't matter if the data is flushed to disk before taking a snapshot. However, it's better to save some flushing time to make snapshot process quick.

      As such, it will be a good idea to provide this option to snapshot command. The wiring from nodetool to MBean to VerbHandler should be easy.

      I can provide a patch if this makes sense.

      Attachments

        1. 0001-flush.patch
          17 kB
          Anubhav Kale
        2. 0001-Skip-Flush-for-snapshots.patch
          21 kB
          Anubhav Kale
        3. 0001-Skip-Flush-option-for-Snapshot.patch
          21 kB
          Anubhav Kale
        4. 0001-Skip-Flush-option-for-Snapshot.patch
          22 kB
          Anubhav Kale

        Activity

          People

            anubhavk Anubhav Kale
            anubhavk Anubhav Kale
            Anubhav Kale
            Paulo Motta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: