The state [...] repository when the ``flush`` method of the ``DocumentManager`` is invoked, this commits the underlying [...]  ??