Checking the Consolidation Storage Content

If you have pushed many documents to the Consolidation Server and observe missing output views or unexpected behavior, you can directly export the documents from the Consolidation storage and check their consistency.

For example, you can verify that metas have correct values.

  1. Go to the <DATADIR>/bin directory and start the cvdebug command-line tool.
  2. Run the following command:

    consolidation export-document-store outputFile=<filepath> [instanceDir=<instance directory>]
     [instance=<Consolidation Server instance name>]

    Where:

    • outputfile – (Required) This argument indicates the file path and name of the exported .dot file.
    • [instanceDir] – Optionally, it can be useful if you do not have a standard CV instance (for example, a debug instance or a copy of the object graph) and need to specify a Consolidation Server instance directory for the object graph to generate properly.
    • [instance] – Optionally, you can specify the Consolidation Server instance for which you want to generate the object graph. If you do not specify any instance, the default Consolidation Server instance cs0 is used.

Once the Consolidation storage is exported (to a JSON file), you are able to see all the documents (nodes) it contains, and check their metas.