[pbs-devel] [PATCH proxmox-rrd] cache: skip non-utf8 lines in rrd journal

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Jun 28 14:09:47 CEST 2024


On Mon, Jun 24, 2024 at 07:30:55PM GMT, Christian Ebner wrote:
> On 6/24/24 17:53, Dietmar Maurer wrote:
> > > In certain situations garbage might be written to the rrd journal,
> > > e.g. by a hard crash of the host.
> > 
> > Why does a host crash writes garbage to a file?
> 
> I did not investigate any further how the file corruption might have
> occurred: might be truncated output leading to incorrect, non-utf8 encoding
> before the full line was written?

Do we even have anything non-ASCII in that file?
I'd think the file got corrupted some other way.
So would we really want to apply it? Perhaps just let the admin
clear/remove it?




More information about the pbs-devel mailing list