- **status**: review --> fixed
- **Comment**:
default (5.2) [staging:dd680f]
changeset: 8540:dd680f61b0b9
user: Hung Nguyen <[email protected]>
date: Wed Jan 25 16:59:38 2017 +0700
summary: imm: Fix the mismatch when resetting sLastContinuationId [#2272]
opensaf-5.1.x [staging:8deeef]
changeset: 8541:8deeefa4feb5
user: Hung Nguyen <[email protected]>
date: Wed Jan 25 16:59:38 2017 +0700
summary: imm: Fix the mismatch when resetting sLastContinuationId [#2272]
opensaf-5.0.x [staging:6fcf1b]
changeset: 8542:6fcf1b121492
user: Hung Nguyen <[email protected]>
date: Wed Jan 25 16:59:38 2017 +0700
summary: imm: Fix the mismatch when resetting sLastContinuationId [#2272]
---
** [tickets:#2272] imm: Mismatch between continuation ids when resetting
sLastContinuationId**
**Status:** fixed
**Milestone:** 5.0.2
**Created:** Thu Jan 19, 2017 03:48 AM UTC by Hung Nguyen
**Last Updated:** Thu Jan 19, 2017 11:20 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