Blobs: Packing blocks ZEO entirely

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

Bug Description

It seems that packing blocks the ZEO server completly when blobs are enabled.

I don't really understand why since I don't understand how a normal pack would not block.

Revision history for this message
Jim Fulton (jim-zope) wrote : Re: [Bug 251037] [NEW] Blobs: Packing blocks ZEO entirely

On Jul 23, 2008, at 2:44 AM, Christian Zagrodnick wrote:

> Public bug reported:
>
> It seems that packing blocks the ZEO server completly when blobs are
> enabled.
>
> I don't really understand why since I don't understand how a normal
> pack
> would not block.

Packing is performed in a separate thread. Perhaps the blob handling
is misusing a lock.

Jim

--
Jim Fulton
Zope Corporation

Changed in zodb:
assignee: nobody → ct-gocept
Revision history for this message
Christian Theune (ctheune) wrote :

Yes. The packing has been using the lock the wrong way since it was initially written, very likely to my misunderstanding of that lock at the time.

FileStorage only uses the storage lock during pack time to protect the '_pack_is_in_progress' attribute, not the whole packing process.

I'll adapt the BlobStorage's pack method accordingly.

Changed in zodb:
importance: Undecided → High
status: New → In Progress
Revision history for this message
Christian Zagrodnick (zagy) wrote :

was released with 3.8.1

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.