[Openais] does openais need to consider the error happens inthe process of receiving a mcast message

Steven Dake sdake at mvista.com
Tue Jul 26 15:22:02 PDT 2005


Li
This is recorded as defect 786

regards
-steve

 On Tue, 2005-07-26 at 11:26 +0800, Li Huanghai wrote:
> I didn't show my problem clearly.
> > For example,
> >     evt.c,    when evt_remote_evt calls after receiving the mcast
> message,
> > if make_local_event error (because of malloc) , the event will lost.
> >     This may be not very serious . But in evt_remote_chan_op , if
> create_channel 
> > error , the cluster will be in an inconsistent state about the
> channel information
> > and can't recovery for ever.
> >  
> >     Also in ckpt.c ,  some funcation
> message_handler_req_exec_ckpt_<...> which need
> > malloc memory ,if one node malloc error ,the cluster will be in an
> inconsistent state.
> > 
> >     
> >     Another is poll_timer_add , if it error ,can the cluster work
> ok?
> > 
> >     And the same with libais_send_response . If it send error ,the
> lib will wait for ever
> > if ais funcation didn't give a timeout parameter.
> > 
> >     I've see mempool , it is great and it works well in amf. But
> ckpt and event maybe need
> > large memory size , is it reasonable if giving it a configuration
> bound ? If not and use
> > mempool_realloc , there's also probability these problems which make
> the cluster inconsistent
> >  happen.
> > 
> > 
> >  Regards




More information about the Openais mailing list