ClientStorage: tpc_finish may break
Bug #224169 reported by
Thomas Lotze
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ZODB |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
ClientStorage's tpc_finish calls _update_cache which in turn calls rename_
| Changed in zodb: | |
| status: | Confirmed → Fix Committed |
To post a comment you must log in.

Agreed. It could be improved (and the logic probably simplified) by doing an initial rename_or_copy_blob to a temporary file as is done when dealing with shared blob directories. Then when the transaction is committed, all that's necessary is a rename which really shoudn't fail.