mirror of
https://github.com/schoebel/mars
synced 2025-01-12 09:40:07 +00:00
d67336420d
When logfile replay aborts with an error, becoming primary would be impossible. Without this, repair would be only possible by complete destruction of the resource. A previous version of this patch introduced /proc/sys/mars/allow_primary_when_damaged which would complicate the sysadmin interface. People would be unsure what to do. |
||
---|---|---|
.. | ||
mars_light.c | ||
mars_proc.c | ||
mars_proc.h | ||
README | ||
strategy.h | ||
sy_generic.c | ||
sy_net.c |
This is ugly code from a first prototype trial. It will disappear as soon as the new strategy layer has been implemented. The new system will use an interpreter for automated pattern matching and triggering actions, in a much more generic fashion than hand-crafted here.