[Rpm-maint] [PATCH] RPMDB Performance
ffesti at redhat.com
Tue Aug 11 11:33:23 UTC 2009
On 08/11/2009 12:47 PM, devzero2000 wrote:
> On Tue, Aug 11, 2009 at 12:19 PM, Florian Festi<ffesti at redhat.com
> <mailto:ffesti at redhat.com>> wrote:
> > Any thoughts or safety concerns?
> Beware of data loss with ext4 dropping down fsync
> The problem with ext4, XFS, or another extent-based filesystem is
> inherent in their design, afaik.
As far as I understand the described problem does not directly affect
this patch as there is no "rename" done. Of course dropping the fsyncs
for the indexes may lead to a corruption of the indexes and the db
environment. But both can be recovered as described on
http://www.rpm.org/wiki/Docs/RpmRecovery. Omitting the fsyncs can also
just lead to additional damage if there is a power loss or any other
hard disruption of the OS. So the risk is comparably limited if I didn't
miss something else.
More information about the Rpm-maint