diff --git a/tailbone/views/batch/core.py b/tailbone/views/batch/core.py index 393bde08..84b2e77c 100644 --- a/tailbone/views/batch/core.py +++ b/tailbone/views/batch/core.py @@ -1057,6 +1057,7 @@ class BatchMasterView(MasterView): user = session.query(model.User).get(user_uuid) try: self.handler.do_populate(batch, user, progress=progress) + session.flush() except Exception as error: session.rollback() log.exception("batch population failed: %s", batch)