getSize() function in BlobStorage can't deal with garbage files

Bug #129921 reported by Christian Theune
2
Affects Status Importance Assigned to Milestone
ZODB
Status tracked in 3.9
3.8
Fix Released
Critical
Christian Theune
3.9
Fix Released
Critical
Christian Theune

Bug Description

It looks like for some reason temporary files might end up in a blobdirectory. the getSize function
then stumbles because it assumes that all entries in the blob directory are directories and *never* files. this can lead to transactions getting into a faulty state.

Making getSize() ignore files in the blob directory solves the problem.

Changed in zodb:
importance: Undecided → Critical
Revision history for this message
Christian Theune (ctheune) wrote :

setting as released because 3.9 currently is the trunk

Revision history for this message
Christian Theune (ctheune) wrote :

released in b3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.