Task #4335
closedTask #4127: Rebuild the LSDB
Task #4264: Increase independence of SyncLogicHandler.
SyncLogicHandler should use an "oracle" funciton to determine LSA newness
0%
Description
The sync system depends on the specific implementation of the LSDB for understanding if an LSA is new. This works for now, but makes the system unfriendly to change, because a change in either the SyncLogicHandler
or the Lsdb
classes requires a change in the other.
This is not always avoidable, but can be mitigated if the sync system defines a function interface for determining LSA newness, and it consuts such a function in the form of a constructor-time argument.
This makes it easier to vary the LSDB, because the classes are decoupled by a function call. It makes it easier to vary the sync system, because its functionality now depends on an "abstract" function.
Updated by Nicholas Gordon about 7 years ago
- Related to Task #4264: Increase independence of SyncLogicHandler. added
Updated by Nicholas Gordon about 7 years ago
- Status changed from New to Rejected
I erroneously filed this issue because I forgot I had a different issue that duplicates it, and has patches already submitted for it. See issue #4264.