Hi AndersBj,
I forgot, we have to search first if the special applier is there or
not, the following the new patch( no need to change the "if condition"
as in published patch).
diff --git a/osaf/services/saf/immsv/immnd/ImmModel.cc
b/osaf/services/saf/immsv/immnd/ImmModel.cc
--- a/osaf/services/saf/immsv/immnd/ImmModel.cc
+++ b/osaf/services/saf/immsv/immnd/ImmModel.cc
@@ -13305,6 +13305,13 @@ SaInt32T ImmModel::pbePrtObjDeletesConti
TRACE("1PBE or 2PBE with error or 2PBE where both PBEs have
replied.");
nrofDeletes=0;
+
+ /* Lookup special applier */
+ ImplementerInfo* spImpl = getSpecialApplier();
+ if(spImpl && spImpl->mConn) {
+ (*spApplConnPtr) = spImpl->mConn;
+ }
+
for(i2 = sPbeRtMutations.begin();i2!=sPbeRtMutations.end(); ) {
if(i2->second->mContinuationId != invocation) {
Thanks,
Neel.
On Thursday 03 April 2014 07:59 PM, [email protected] wrote:
> osaf/services/saf/immsv/immnd/ImmModel.cc | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> when the RT Object is deleted in a PBE enabled cluster which is subscribed to
> special applier,
> the delete callback is not sent. with this patch the delete callback will be
> sent
>
> diff --git a/osaf/services/saf/immsv/immnd/ImmModel.cc
> b/osaf/services/saf/immsv/immnd/ImmModel.cc
> --- a/osaf/services/saf/immsv/immnd/ImmModel.cc
> +++ b/osaf/services/saf/immsv/immnd/ImmModel.cc
> @@ -13336,7 +13336,7 @@ SaInt32T ImmModel::pbePrtObjDeletesConti
> osafassert(oi != sObjectMap.end());
>
> if(oMut->mAfterImage->mObjFlags & IMM_RTNFY_FLAG) {
> - if(*spApplConnPtr) {
> + if(spApplConnPtr) {
> if(oMut->mAfterImage->mObjFlags & IMM_DN_INTERNAL_REP) {
> std::string tmpName(i2->first);
> nameToExternal(tmpName);
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Opensaf-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensaf-devel
------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel