Hi,

I think the recovery should be triggered automatically by the system when:

1) a cluster node starts up and sees it didn't shut down properly. I'm not
sure this information is available, but remember we discussed this once.

2) a cluster node sees a lease timeout of another cluster node and initiates
the recovery for the failed cluster node. this check could be done in the
background operations thread on a regular basis. probably depending on
the lease interval.

In addition it would probably also be useful to have the recovery operation
available as a command in oak-run. that way you can manually trigger it from
the command line. WDYT?

Regards
 Marcel

> How do we expose _lastRev recovery operation? This would need to check
> all
> the cluster nodes info and run recovery for those nodes which need
> recovery.
> 
> 1. We either have a scheduled job which checks all the nodes and run the
> recovery. What should be the interval to trigger the job?
> 2. Or if we want it run only when triggered manually, then expose an
> appropriate MBean.
> 
> 
> Thanks
> Amit

Reply via email to