- **status**: accepted --> review


---

** [tickets:#2272] imm: Mismatch between continuation ids when resetting 
sLastContinuationId**

**Status:** review
**Milestone:** 5.0.2
**Created:** Thu Jan 19, 2017 03:48 AM UTC by Hung Nguyen
**Last Updated:** Thu Jan 19, 2017 03:48 AM UTC
**Owner:** Hung Nguyen


Example from ImmModel::ccbObjectCreate()

~~~
                //Increment even if we dont invoke locally
                oMut->mContinuationId = (++sLastContinuationId);
                if(sLastContinuationId >= 0xfffffffe) 
                {sLastContinuationId = 1;}

                if(*implConn) {
                    if(object->mImplementer->mDying) {
                        LOG_WA("Lost connection with implementer %s in "
                            "CcbObjectCreate.", 
                            object->mImplementer->mImplementerName.c_str());
                        *continuationId = 0;
                        *implConn = 0;
                        //err = SA_AIS_ERR_FAILED_OPERATION;
                        //Let the timeout handling take care of it.
                        //This really needs to be tested! But how ?
                        
                    } else {
                        *continuationId = sLastContinuationId;
                    }
                }
~~~

There's mismatch between **oMut->mContinuationId** and **\*continuationId** 
when** sLastContinuationId** is reset to 1


---

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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to