BIMserver icon indicating copy to clipboard operation
BIMserver copied to clipboard

Duplicate OIDs within the same Database

Open muren400 opened this issue 3 years ago • 3 comments

Hi,

not sure if this is actually a bug or not, but I read somewhere in the wiki, that oids should be unique within a database. Nonetheless I stumbled upon two different IfcProject entries that share the same oid. Is this a very unusual glitch that one should be concerned about or can there be duplicate oids for different revisions?

Thanks, Andreas

PS.: this happened in 1.5.182

muren400 avatar Feb 11 '22 16:02 muren400

Depends on how the two IfcProject entities are "different". If you create revisions by using the low level interface, then yes - you will have one stable oid for an entity throughout different revisions (see Database versioning). In that case, the two IfcProject entities wouldn't actually be "different". Otherwise I think it is rather unexpected.

hlg avatar Feb 12 '22 16:02 hlg

It's two different IFC Files checked in into two different subprojects.

muren400 avatar Feb 14 '22 10:02 muren400

There were two rollbacks during the checkin of the first model. The Server was restarted twice before the checkin of the second model.

muren400 avatar Feb 14 '22 13:02 muren400