ZODB Mount Points creates identical oids
Bug #566079 reported by
Sebastian Lühnsdorf
This bug report is a duplicate of:
Bug #566009: ZODB Mount Points creates identical oids.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
New
|
Undecided
|
Unassigned |
Bug Description
In a Zope server with mounted ZODB databases, oids are not unique. It seems that since an oid may be unique in one database, they are reused throughout the system. This can lead to unexpected behavior:
- in the Zope2 ZMI, opening a Folder in the management tree affects multiple objects
- when moving objects (cut & paste) from one database to another, you end up with two objects sharing one oid. This can lead to a corrupt database.
To post a comment you must log in.
Of course, oids are not unique. In a multi-database configuration, an object is identified by it's database name + oid.
Perhaps this is a Zope 2 bug, There isn't enough information to tell.
Please provide more information on the problem you're observing, including precise steps to reproduce and demonstration of negatve outcomes.