[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5534) Samba4 needs internal transactions/consistancy



Andrew Bartlett wrote:
> On Tue, 2008-05-27 at 18:22 -0700, Howard Chu wrote:

>>> This needs to occur even between databases on the server, but I won't ask that
>>> it occur outside the known trees.
>> It's already possible for operations in one database to reference entries in a
>> different database, so that aspect of validation should be fine. However, as
>> noted before, "validation" is generally bogus to begin with. In particular,
>> how do you create entries with circular references? If you disallow references
>> to nonexistent entries, you can't set the references until after all of the
>> entries have been created. This means that you cannot backup a database that
>> has these references and then later reload it in a single pass.
>
> An interesting point, but I need to match the windows runtime
> behaviour.

Only when it has a visible impact on other clients. What software will break 
if the directory allows you to add new entries that contain dangling 
references? What will break if the directory allows you to modify a reference 
attribute to point to a nonexistent entry?

There's a lot of Windows behavior that is clearly wrong, by any number of 
metrics. You need to be a bit more selective in prioritizing the list of 
things to chase down.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/