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

Directories.migrateFile() does not handle -old or -tmp LDB manifests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.11
    • None
    • None
    • Low

    Description

      During LDB compaction a -old.json file is created with the previous manifest.

      Directories.migrateFile() only checks for the .json extension and uses the length to determine the CF name.

      This can result in the -old.json manifest getting copied to a CF-old directory in the new layout.

      see http://www.mail-archive.com/user@cassandra.apache.org/msg27583.html for an example

      Attachments

        1. 0001-CASSANDRA-5242.patch
          2 kB
          Marcus Eriksson
        2. 0001-CASSANDRA-5242-v2.patch
          2 kB
          Marcus Eriksson

        Activity

          People

            marcuse Marcus Eriksson
            amorton Aaron Morton
            Marcus Eriksson
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: