[Authentication] Problem with race on create collection

Stef Walter stefw at gnome.org
Wed Sep 22 08:12:39 PDT 2010


On 2010-09-21 09:30, Michael Leupold wrote:
> Am Dienstag, 21. September 2010, 03:03:34 schrieb Stef Walter:
>> On 2010-09-18 10:57, Michael Leupold wrote:
>>> I wouldn't necessarily mix Alias into the properties argument but
>>> create an extra string argument which would be left empty if no alias
>>> should be created.
>>
>> Interesting idea.
>>
>> So the daemon would refuse to create another collection when
>> CreateCollection is called with an alias argument that already exists?
>> Or would it just return the previous collection? Or did you have
>> something else in mind?
> 
> I'd go with returning the previously created collection because I think that's 
> what the client sending the second CreateCollection request wants in most if 
> not all of the cases. Apart from the it's harder to send errors when using a 
> prompt object.

Good plan. I like this.

Cheers,

Stef


More information about the Authentication mailing list