Merging index updates in the Dgraph

You can force a merge of incremental updates into the index, or you can change the index merge policy of any Dgraph node managed by Enterprise Manger Cloud Control plug-in.

An index merge policy controls how the Dgraph manages its index files. A balanced index merge policy is used by default, and, in the majority of deployments, you do not need to change it. For information about index merging policy options and when to apply them, see Managing an index merge policy.

This option runs against a single Dgraph. Additionally, the option must run against the leader node, or the operation fails. To identify the leader node, check the Cluster target page.

To merge updates to the index in the Dgraph:

  1. Log in to Enterprise Manager Cloud Control.
  2. Select a Dgraph target.
  3. From the Dgraph target menu, select Administration > Merge.
    The following options display:
    This image shows the operation and policy options for the merge option.

  4. Select an operation and policy.
  5. Click Submit.