Hello,

 

during internal discussions, we came up with the question of how OpenLDAP deals with concurrent, competing write accesses to an LDAP object.

The background to the question is that we use two applications that want to write attributes on the same user object in the DIT and maybe this could happen at the same time.

Does anyone know how the OpenLDAP deals with such a situation?

We would like to ask the following questions in detail:

- Does the OpenLDAP lock the entire object for write access or only the attributes that are currently being changed?

- Is there a kind of queue for write operations in which the competing write accesses are stored? If so, what criteria are used to determine which write operation has priority?

- Are there scenarios caused by concurrent, simultaneous write access to objects / object attributes that lead to a crash of the openLDAP?

- How can we best simulate simultaneous write access to an object in the DIT from different systems?

- Are there different behaviors dealing with concurrent write-access when using different openLDAP versions?

 

Kind regards,

 

Carsten