Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
- This is to restore module-specific in-memory data structures that might be required by the modules to do cleanup on task exit, etc.
- We need to define the interaction when an Agent is restarted with a different set of modules.
One open question is how does an Agent identify a certain module? One possibility is to assign a UID to the module and pass it in during `create()`?. The UID is used to assign a ckpt directory during ckpt/restore. (Something like /tmp/mesos/.../<slaveID>/modules/<module UID>).