Issue 3420: Unclean restart using service gerrit restart
Status:  New
Owner: ----
Reported by cascaran...@gmail.com, Jun 10, 2015
Affected Version:
2.10.3.1

What steps will reproduce the problem?
1.start a patch upload
2.restart during the upload
3.

What is the expected output? What do you see instead?
Get the patches on gerrit or not get them at all, instead, gerrit has some incomplete entries that prevent you form seeing them on the ui or sendig them again. Changing the commit message and resending the patch will create a new entry skipping a patch number in the ui (for example, if you have patch 1, and do the restart and the commit message change, when pushing again you end up with 1 and 3 showing in the ui, but not 2)


Please provide any additional information below.

Jun 10, 2015
#1 cascaran...@gmail.com
on first push:

Counting objects: 62, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (23/23), done.
Writing objects: 100% (34/34), 3.62 KiB | 0 bytes/s, done.
Total 34 (delta 15), reused 1 (delta 1)
remote: Resolving deltas: 100% (15/15)
remote: Processing changes: done    
remote: error: internal error while processing changes (timeout 200ms, cancelled)
To gerrit.ovirt.org:ovirt-engine
 ! [remote rejected] HEAD -> refs/for/master (internal error)
error: failed to push some refs to 'gerrit.ovirt.org:ovirt-engine'


if i try again, gerrit thinks the change already pushed:
...
remote: Resolving deltas: 100% (127/127)
remote: Processing changes: refs: 1, done    
To gerrit.ovirt.org:ovirt-engine
 ! [remote rejected] HEAD -> refs/for/master (no new changes)
error: failed to push some refs to 'gerrit.ovirt.org:ovirt-engine'