Thank you for your response but let me explain myself better. What i am trying to solve is a failure situation in which the container where Confd runs restarts for any reason. In that case after the restart my program that manages Confd has to decide if this is the fist time that is running or this a case after a restart where initial configuration was loaded at some point in the past and doesn't need to load it again.
So i need a state that i can rely on. Maapi as far as i know cannot provide that kind of info. The current implementation creates some kind of a flag-file and depends on it's existence to decide the state (before or after a restart). I was wondering if Confd can provide something similar and this why i asked about replay.cdb. What i want to know is if there is something that can tell me if Confd reached phase 2 at any time in the past even if Confd has restarted.