intermediate commit, testing log using mongodb