Differences between revisions 8 and 9
Revision 8 as of 2014-02-21 05:13:28
Size: 474
Editor: ChiaHungLin
Comment:
Revision 9 as of 2014-03-18 04:27:00
Size: 624
Editor: ChiaHungLin
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
== Monitored GroomServer State == == Scenario ==
Line 11: Line 11:
 * Normal
 * Warning
 * Offline
 * When a groom registers, it
  # check and move groom out of quarantined set if any
  # cache groom server spec info.
Line 15: Line 15:
{{{
-> Normal <-> Warning <-> Offline <-
}}}
 * When detecting a GroomServer offline, it
  # '''quarantine''' the offline groom
  # trigger reschedule tasks event



Responsibility

  • Watch GroomServer registration/ deregistration. Ephemeral.

  • Register to Supervisor.
  • Maintain (local) groom list. Persistent

Scenario

  • When a groom registers, it
    • # check and move groom out of quarantined set if any # cache groom server spec info.
  • When detecting a GroomServer offline, it

    • # quarantine the offline groom # trigger reschedule tasks event

Source

GroomServerManager.java

GroomManager (last edited 2014-03-18 04:27:00 by ChiaHungLin)