Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The remaining configuration, used to store configuration state for most of the platform components, is stored in common file: /config/db

 

Database Consistency

 

DBD ensures db consistency (on-disk) by writing out all db files whenever the tree is detected as being "dirty" (in-memory tree has been written to, but not yet flushed to disk).  It does this using a common pattern:

...

notes: only works on objects (not arrays, etc.).  will return an empty array

com.citrix.xenclient.db.rm(string path)

...

status: implemented

notes: removes node (any object type at ) located at path

com.citrix.xenclient.db.exists(string path)

...