The following diagram illustrates how mutations are processed and committed in dgraph. Some internal functions are skipped for brevity.