Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-1308

LP #1111144: Newly created bitmap files should not indiscriminately overwrite old ones

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Laurynas Biveinis last update 07-02-2013 07:34:59

      Split off bug 1105709.

      The current bitmap writer code passes OS_FILE_OVERWRITE to os_file_create, thus if an old file happened to be there with the same name, it was destroyed.

      As the old bitmap files should not be laying around, it's better to make this situation an error.

      Zero-sized old files are a special case, they might occur during regular bitmap tracking (i.e. RO workload only between server restarts), and they should be overwritten.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lpjirasync lpjirasync (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: