[Authentication] Problem with race on create collection
lemma at confuego.org
Sat Sep 25 13:01:10 PDT 2010
2010/9/22 Stef Walter <stefw at gnome.org>:
> 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.
Great! I created a merge request on the repository. Please double
check and sign-off.
More information about the Authentication