MB-14838 Fix regression caused by commit 719bc7
MB-14838 Fix regression caused by commit 719bc7

Metadata update should be done before disk commit
to make sure atomic commit of metadata + data.

Change-Id: I7c5855b1b6fb939de8ec3eb5f9ac8cd9c4b83df9

jchris/indexing,jchris/indexing,jchris/indexing,jchris/indexing