---
** [tickets:#529] Corrections to do in CPD code**
**Status:** unassigned
**Created:** Wed Jul 31, 2013 10:00 AM UTC by Ramesh
**Last Updated:** Wed Jul 31, 2013 10:00 AM UTC
**Owner:** A V Mahesh (AVM)
Corrections to do in CPSv code.
(1) In function cpd_sb_proc_ckpt_dest_add()
line: 499
else {
TRACE_4("cpd standby dest add evt failed for ckptid:
%llx",msg->info.dest_add.ckpt_id);
return NCSCC_RC_OUT_OF_MEM;
}
Before return, should free() "nref_info" and "cref_info".
line: 562
free_mem:
if (node_info == NULL) {
}
If line:513 saClmClusterNodeGet() fails, should free "nref_info" and "cref_info"
(2) In function cpd_ckpt_reploc_node_delete()
line 437: rc = cpd_ckpt_reploc_node_add(&cb->ckpt_reploc_tree,
ckpt_reploc_node, cb->ha_state, cb->immOiHandle);
Should be removed else.. if "ckpt_reploc_node" has to retain then do not
delete it subsequently.
(3) In function cpd_ckpt_ref_info_add() , "cref_info" is not added to the list
if the same "ckpt_id" exist. In this case we have to free() "cref_info".
(4) Similarly, In function cpd_node_ref_info_add() , "nref_info" is not added
to the list if the same "dest" exist. In this case we have to free()
"nref_info".
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets