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

Add possibility to copy SSTables in SSTableImporter instead of moving them

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Local/SSTable
    • Labels:
      None
    • Change Category:
      Operability
    • Complexity:
      Normal
    • Platform:
      All
    • Impacts:
      None
    • Test and Documentation Plan:
      Hide

      ci run, new unit tests

      Show
      ci run, new unit tests

      Description

      SSTableImporter moves data from source to target. Modify the current code in such a way that source files / SSTables might be copied over, not moved. The reason behind this is that if I have a backup, I do not want to lose that backup after I import it. Backup should stay as it was, untouched. Callers might choose what behavior they require, either importing by moving or importing by copying.

      Please keep in mind that SSTableImporter for firstly introduced in 4.0 trunk and this is seen as a bug basically, I was dedicing between a bug and improvement. I still believe that this should happen BEFORE 4.0 gets out.

      https://github.com/apache/cassandra/pull/875/files

      https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/376/

        Attachments

          Activity

            People

            • Assignee:
              stefan.miklosovic Stefan Miklosovic
              Reporter:
              stefan.miklosovic Stefan Miklosovic
              Authors:
              Stefan Miklosovic
              Reviewers:
              Marcus Eriksson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m