Open
Description
The current logic is overly complicated, and burried in gpbftRunner
deep enough that unit testing the raw heuristic itself in terms of conformity to basic design goals is cumbersome if not impossible.
The heuristic itself uses a number of parameters from manifest, and it's not entirely clear if we really need so many knobs to tune the instance start.
- Refactor the heuristic into a stateless function that takes clear set of parameters.
- Add unit tests to assert what the design goals are/should be.
- Then simplify the logic and distil to 1 but no more than 2 parameters.
Lines 389 to 460 in f77d509
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo