c20148c8e20d62744c3654e73fb9d7256f30a205
Since we now do not flush the ObjectInserter until the submit strategy has been run on all pending changes, it is not safe to update patch set refs to point to new cherry-pick commits until the end of the loop as well. This produces a different failure case from what we had previously: instead of potentially having refs with no pointers from the database, the situation is reversed. If a ref update fails, there may still be PatchSets in the database pointing to nonexistent refs. Change-Id: I0594aef6f765a7beee586516fffeb71f040bdc46
Description
RETIRED, Gerrit as used by OpenStack