You must start the MDEX Engine with the Dgraph --updatedir flag to enable it to process partial updates.

The flag takes as an argument the path of the directory into which completed partial update files (from Forge) are placed. During normal operation, the MDEX Engine does not automatically load update files placed into this directory. The MDEX Engine checks this directory by default upon restart, after a baseline update. The scripts that you use for partial updates must be configured to notify the running MDEX Engine to check for new updates. After the MDEX Engine reads these files, they are deleted from this directory.

Update files are read at startup (after a baseline) as well as when the MDEX Engine receives the update signal. Because the MDEX Engine looks for update files automatically at startup, recovery from server failure can be achieved easily by ensuring that the MDEX Engine is provided the same --updatedir directory on recovery as it had prior to failure. (This is true only if you restore partial updates first.) The MDEX Engine then reads the existing files in the directory, restoring the MDEX Engine to its pre-failure state.


Copyright © Legal Notices