Skip to content

Instantly share code, notes, and snippets.

@ajayhn
Created September 15, 2016 18:14
Show Gist options
  • Save ajayhn/fcaab9cbf488008a881b5a9c9a9f2b57 to your computer and use it in GitHub Desktop.
Save ajayhn/fcaab9cbf488008a881b5a9c9a9f2b57 to your computer and use it in GitHub Desktop.
ifmap-server-error-handling
1. timeout when publishing to ifmap-server (mapclient.call())
when timeout happens keep retrying
2. ifmap-server code needs to inspect healthcheck object publish and if it misses n of them, exit() OR
config-nodemgr keeps reading healthcheck object from ifmap-server and if it can't read in n secs or value is stale, kill ifmap-server
3. control-node keeps reading healthcheck object from ifmap and it sees stale, move to a new ifmap-server
4. ifmap-publish-greenlet enqueue finds q-full, no change from current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment