tooz-dev team mailing list archive
-
tooz-dev team
-
Mailing list archive
-
Message #00002
Re: [Zake]: delete_async issue
Ok, think this is fixed:
https://github.com/yahoo/Zake/commit/5747ed930807c1d2545eef2192203753f1e4c7
37
Avoiding using there async set_exception/set_result wrapper functions
since they don't handle the none case.
-Josh
On 1/27/14, 10:23 AM, "Joshua Harlow" <harlowja@xxxxxxxxxxxxx> wrote:
>Hmmm, let me look at that, probably some kind of cross-thread locking or
>something happening.
>
>-Josh
>
>On 1/27/14, 4:45 AM, "Yassine lamgarchal"
><yassine.lamgarchal@xxxxxxxxxxxx> wrote:
>
>>Adding the tooz mailing list.
>>
>>Thanks Victor !
>>
>>--
>>Yassine
>>
>>----- Original Message -----
>>From: "victor stinner" <victor.stinner@xxxxxxxxxxxx>
>>To: "Yassine lamgarchal" <yassine.lamgarchal@xxxxxxxxxxxx>
>>Cc: "Joshua Harlow" <harlowja@xxxxxxxxxxxxx>, julien@xxxxxxxxxxx, "mehdi
>>abaakouk" <mehdi.abaakouk@xxxxxxxxxxxx>, "cyril roelandt"
>><cyril.roelandt@xxxxxxxxxxxx>
>>Sent: Monday, January 27, 2014 11:12:19 AM
>>Subject: Re: [Zake]: delete_async issue
>>
>>(Why not using the Tooz mailing list? I just subscribed to the list :-))
>>
>>https://launchpad.net/~tooz-dev
>>
>>Victor
>>
>>----- Mail original -----
>>> De: "Yassine lamgarchal" <yassine.lamgarchal@xxxxxxxxxxxx>
>>> À: "Joshua Harlow" <harlowja@xxxxxxxxxxxxx>
>>> Cc: julien@xxxxxxxxxxx, "mehdi abaakouk" <mehdi.abaakouk@xxxxxxxxxxxx>,
>>>"cyril roelandt"
>>> <cyril.roelandt@xxxxxxxxxxxx>, "victor stinner"
>>><victor.stinner@xxxxxxxxxxxx>
>>> Envoyé: Lundi 27 Janvier 2014 10:47:29
>>> Objet: [Zake]: delete_async issue
>>>
>>> Hi,
>>>
>>> thank you Joshua for the quick release :-).
>>>
>>> I found another issue which still prevent the unit tests to pass :/.
>>>It's
>>> related
>>> to the delete_async() function.
>>>
>>> Here is an example to get the issue:
>>>
>>> =======
>>> In [1]: from zake import fake_client
>>>
>>> In [2]: fc = fake_client.FakeClient()
>>>
>>> In [3]: fc.start()
>>>
>>> In [4]: fc.create("/")
>>>
>>> In [5]: fc.create("/test")
>>> Out[5]: '/test'
>>>
>>> In [6]: da = fc.delete_async("/test")
>>>
>>> In [7]: da.get()
>>> =======
>>>
>>> So the code block indefinitely on .get()
>>>
>>> I didn't find yet how to fix that issue :/
>>>
>>> ---
>>> Yassine
>>>
>
Follow ups
References