[zeromq-dev] HA: HA: HA: НА: s390x build failure
Sergey Hripchenko
shripchenko at intermedia.net
Wed Apr 25 18:36:48 CEST 2012
Sorry.
PUSH should be read as PULL
________________________________
От: zeromq-dev-bounces at lists.zeromq.org [zeromq-dev-bounces at lists.zeromq.org] от имени Sergey Hripchenko [shripchenko at intermedia.net]
Отправлено: 25 апреля 2012 г. 20:35
To: ZeroMQ development list
Тема: [zeromq-dev] HA: HA: НА: s390x build failure
I was hoping that you have more exotic OS ^)
About issue: zmq_sleep (1) should be _enough_ for everything.
However, for example I found that:
PUSH->connect()
PUSH->recv() > 0
PUSH->disconnect()
// and this will leave PUSH -> session_base_t -> tcp_connecter_t forever until you call some io functions like PUSH->recv(ZMQ_DONTWAIT)=-1
// the TERM command simply _NOT_ propagaded from session_base_t::process_term_req()(called in application thread) to tcp_connecter_t::process_term()(called in ZMQ IO thread)
Not sure if anyone interested in this issue...
________________________________
От: zeromq-dev-bounces at lists.zeromq.org [zeromq-dev-bounces at lists.zeromq.org] от имени Neale Ferguson [neale at sinenomine.net]
Отправлено: 25 апреля 2012 г. 20:28
To: ZeroMQ development list
Тема: Re: [zeromq-dev] HA: НА: s390x build failure
Changing the sleep from 1->3 allows the test to pass. The system is very constrained so the extra sleep appears necessary to give things time to calm down. However, there should be a better mechanism.
On 4/25/12 12:09 PM, "Sergey Hripchenko" <shripchenko at intermedia.net<UrlBlockedError.aspx>> wrote:
Not bizarre at all ^) Since all event/commands handling is in different ZMQ IO threads. So it's all about timings and race conditions during async commands propagation.
And I want to admit that ZMQ has a lot of problems with commands propagation/handling... Not sure that anyone interested in it through...
Could you please tell for what OS you building ZMQ?
________________________________
This message is intended only for the person(s) to which it is addressed and may contain Intermedia.net Inc privileged, confidential and/or proprietary information. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Any disclosure, copying, distribution, or the taking of any action concerning the contents of this message and any attachment(s) by anyone other than the named recipient(s) is strictly prohibited.
________________________________
This message is intended only for the person(s) to which it is addressed and may contain Intermedia.net Inc privileged, confidential and/or proprietary information. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Any disclosure, copying, distribution, or the taking of any action concerning the contents of this message and any attachment(s) by anyone other than the named recipient(s) is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120425/69b8fdf7/attachment.htm>
More information about the zeromq-dev
mailing list