Merge branch feature/jorgen.lind/no_inconsistency_in_metadataflush with...

Merge branch feature/jorgen.lind/no_inconsistency_in_metadataflush with refs/heads/1.0 into refs/merge-requests/224/train
3 jobs for !224 with feature/jorgen.lind/no_inconsistency_in_metadataflush into 1.0 in 7 minutes and 42 seconds
merge train