
On Wed, Sep 23, 2020 at 1:38 PM Nir Soffer <nsoffer@redhat.com> wrote:
Recently pushing changes to gerrit is very slow. It seems that the issue is pulling changes during rebase in "git review".
Sometimes "git review" is very slow, but "git review -R" is very quick. This show that the issue was getting changes from gerrit during when git-review try to rebase the current branch on master.
I noticed that origin/master and gerrit/master do not show the same commit:
$ git log origin/master | head -1 commit 6e6e93cb1d237f9b6fdd533d5afdc1b9ba1c197a
$ git log gerrit/master | head -1 commit 353e7b1e322aa02d4767b6617ed094be0643b094
$ git remote -v gerrit http://gerrit.ovirt.org/p/vdsm.git (fetch) gerrit ssh://nsoffer@gerrit.ovirt.org:29418/vdsm.git (push) origin http://gerrit.ovirt.org/p/vdsm.git (fetch) origin http://gerrit.ovirt.org/p/vdsm.git (push)
I've been using this configuration for several years, and the slowness started only recently, so I guess the issue is not on my side.
Same issues also on ovirt-engine, using similar configuration:
$ git remote -v gerrit http://gerrit.ovirt.org/ovirt-engine (fetch) gerrit ssh://nsoffer@gerrit.ovirt.org:29418/ovirt-engine.git (push) origin git://gerrit.ovirt.org/ovirt-engine (fetch) origin git://gerrit.ovirt.org/ovirt-engine (push)
Anyone experienced this?
I guess that restarting the gerrit server will "fix" this issue.
More data: Cloning ovirt-engine-api-model: $ git clone git://gerrit.ovirt.org/ovirt-engine-api-model 10.0 KiB/s $ git clone https://gerrit.ovirt.org/ovirt-engine-api-model 22.0 KiB/s $ git clone https://github.com/oVirt/ovirt-engine-api-model.git 136.00 KiB/s Looks like a gerrit issue.