Bug #2362
closedStrategy::beforeSatisfyInterest is not called when PIT is satisfied from CS
0%
Description
Without this callback, we not going to have correct stats for interests that are satisfied from CS
Updated by Alex Afanasyev almost 11 years ago
- Blocks Task #2363: NullFace creation should be moved inside Forwarder constructor added
Updated by Junxiao Shi almost 11 years ago
Does the title "Strategy::beforeSatisfyInterest is called when PIT is satisfied from CS" represent expected behavior, or incorrect/actual behavior?
Updated by Alex Afanasyev almost 11 years ago
- Subject changed from Strategy::beforeSatisfyInterest is called when PIT is satisfied from CS to Strategy::beforeSatisfyInterest is not called when PIT is satisfied from CS
I meant to write "is not called". It should be called.
Updated by Junxiao Shi almost 11 years ago
- Status changed from New to Rejected
This behavior is by design.
Strategy::beforeSatisfyInterest is invoked only for incoming Data; ContentStore is not incoming Data.
Forwarding strategy is only responsible for forwarding Interests that cannot be satisfied by ContentStore, and only needs to take measurements for incoming Data.
Updated by Alex Afanasyev almost 11 years ago
- Status changed from Rejected to New
Stop rejecting without proper discussion
Updated by Junxiao Shi almost 11 years ago
DO NOT WORK ON THIS ISSUE.
The design is wrong.
Updated by Chengyu Fan almost 11 years ago
I see, does it mean that this task needs to be rejected?
Updated by Junxiao Shi almost 11 years ago
It's already Rejected in note-4, but someone restored it. Further discussion is needed.
Updated by Chengyu Fan almost 11 years ago
I see, will wait for the further discussion.
Updated by Junxiao Shi over 7 years ago
- Status changed from New to Rejected
This is no longer relevant. #4290 introduces Strategy::afterContentStoreHit trigger function, and the strategy can collect statistics through this trigger.