It could be helpful, if you explain which and when the datastore(candidate, running, startup) configurations stores in which cdb files (A.cdb, C.cdb and O.cdb).
Also tell for what and why this db (confd_candidate.db) used in candidate datastore. Won’t it be stored in any of the above A,C,O cdb’s.
What external and implementations exactly meant in the config.conf file for candidate datastore.
A.cdb – the configuration data, if startup is enabled, the startup datastore is stored persistently in this file, if startup is not enabled, the running datastore is stored persistently in this file.
C.cdb – the database schema is stored persistently in this file
O.cdb – the operational data store is stored persistently in this file
Regarding the candidate from the confd.conf man page:
/confdConfig/datastores/candidate/filename (xs:string)
filename is the name of the file where the candidate will be stored, if implementation is “confd” and “storage” is “disk” or “auto”.
A schema defines the structure of data. A schema in ConfD is represented by YANG modules, compiled to a schema file having the file name suffix “.fxs”.