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

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

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment