Project

General

Profile

Actions

Task #4335

closed

Task #4127: Rebuild the LSDB

Task #4264: Increase independence of SyncLogicHandler.

SyncLogicHandler should use an "oracle" funciton to determine LSA newness

Added by Nicholas Gordon over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by Nicholas Gordon over 6 years ago

  • Related to Task #4264: Increase independence of SyncLogicHandler. added
Actions #2

Updated by Nicholas Gordon over 6 years ago

  • Parent task set to #4264
Actions #3

Updated by Nicholas Gordon over 6 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.

Actions

Also available in: Atom PDF