Newly created bitmap files should not indiscriminately overwrite old ones

Bug #1111144 reported by Laurynas Biveinis on 2013-01-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Medium
Laurynas Biveinis
5.1
Medium
Laurynas Biveinis
5.5
Medium
Laurynas Biveinis

Bug Description

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.

Related branches

lp:~laurynas-biveinis/percona-server/bug1105709-5.1
Stewart Smith (community): Approve on 2013-02-06
George Ormond Lorch III: Approve (g2) on 2013-02-05
lp:~laurynas-biveinis/percona-server/bug1105709-5.5
Stewart Smith (community): Approve on 2013-02-06
George Ormond Lorch III: Approve (g2) on 2013-02-05
summary: - Newly created bitmap files should indiscriminately overwrite old ones
+ Newly created bitmap files should not indiscriminately overwrite old
+ ones
tags: added: xtradb
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers