The MDEX Engine now incorporates a merge policy that specifies how frequently it merges partial update generations.

Generation files are combined through a process called merging. Merging is a background task that does not affect MDEX Engine functionality but may affect performance. Because of this, you can set the policy that dictates the aggressiveness of the merges; this policy is called the merge policy.

You can control the merge policy through a Dgraph flag or through the admin interface via a URL command. Using these controls, you can set the merge policy to one of two settings:

The Dgraph --mergepolicy flag can be used to set the merge policy at start-up time. If this flag is not used, the merge policy defaults to the balanced policy, which is comparable to how versions 6.1.0 through 6.1.3 of the MDEX Engine handle merges.

The new URL mergepolicy command can be used to force a merge, and (optionally) to change the merge policy of a running MDEX Engine.

See the Partial Updates Guide for details on the merge policy, as well as on the Dgraph --mergepolicy flag and the URL mergepolicy command.


Copyright © Legal Notices