Hi Ted, On 5/26/2015 11:49 AM, Yao Cheng LIANG wrote: > > But for every write, the non-active cpnd will get updated with the > fresh data, it should not be any problem if it update its local > agents. Right? > Write Lock is at CPND level , and in some ckpts the active replica can be diffrent node , taht may allow some space to another agent to write while another agent received data in track callback ( it can be older data some other data is simultaneously written in to same offset) so it always preferred to read the data from the replica.
-AVM > Ted > > *From:*A V Mahesh [mailto:[email protected]] > *Sent:* Tuesday, May 26, 2015 2:14 PM > *To:* Yao Cheng LIANG; [email protected] > *Subject:* Re: [users] ckptnd memory leak(very serious) > > HI Ted, > > On 5/26/2015 11:18 AM, Yao Cheng LIANG wrote: > > Do you think it is possible to pass the data along with the > section to agents, it will be more efficient > > > This approach will introduce out-of-order data read by application , > because of concurrent/continuous > write in to a checkpoint . > > -AVM > > On 5/26/2015 11:18 AM, Yao Cheng LIANG wrote: > > Dear Mahesh, > > When cpsv agent update the sections, the request will be sent to > active replica, after apply these changes, cpns where avtive > replica reside will call cpnd_ckpt_update_replica to update all > other replicas, and after other cpnd apply these change, they will > send CPA_EVT_ND2A_CKPT_ARRIVAL_NTFY to their local client for data > change, but does not pass in change data, just section ID. Do you > think it is possible to pass the data along with the section to > agents, it will be more efficient, because agent does not need > additional read? With patch you mentioned below, if read_size not > passed as zero, will the agent get the changed data? > > Thanks. > > Ted > > *From:*A V Mahesh [mailto:[email protected]] > *Sent:* Tuesday, May 26, 2015 11:35 AM > *To:* Yao Cheng LIANG; [email protected] > <mailto:[email protected]> > *Subject:* Re: [users] ckptnd memory leak(very serious) > > Hi Ted, > > It was committed on `Fri May 15` please take the patch from > community . > > changeset: 6556:41a382748df9 > user: A V Mahesh <[email protected]> > <mailto:[email protected]> > date: Fri May 15 13:11:31 2015 +0530 > summary: cpsv : fix CPA & CPND memleak [#1373] > > -AVM > > > > On 5/25/2015 6:00 PM, Yao Cheng LIANG wrote: > > Dear AVM, > > Do you have a plan for this patch? > > Ted > > *From:*A V Mahesh [mailto:[email protected]] > *Sent:* 2015年5月14日17:31 > *To:* Xiao Dong WANG; Ou Jia Dong; Jesse Y. AI; Yao Cheng > LIANG; [email protected] > <mailto:[email protected]> > *Cc:* Mui Ka Ho Alex > *Subject:* Re: [users] ckptnd memory leak(very serious) > > Hi Xiaodong, > > Your are right It looks complex to fix , currently I am > working on patch , as a work around > comment out below as your already done and proceed your testing . > > //send_evt.info.cpa.info.arr_msg.ckpt_data->data = NULL; > //send_evt.info.cpa.info.arr_msg.ckpt_data->readSize = 0; > > -AVM > > ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
