google / seesaw

Seesaw v2 is a Linux Virtual Server (LVS) based load balancing platform.
Apache License 2.0
5.63k stars 511 forks source link

Protect against removed vserver snapshots still appearing. #3

Closed baptr closed 8 years ago

baptr commented 8 years ago

A pending snapshot in the engine's vserverChan could race against removing the vserver after stop(), and end up re-adding the obsolete snapsot. Check for this case, log it, and throw away the snapshot.

Add some additional logging to note why a vserver is being shutdown.