Page MenuHomePhabricator

Loading of a change for review in Gerrit is often very slow
Closed, ResolvedPublic

Description

About half of the times when i load a change for review in Gerrit, it takes many seconds of "Loading...", or just remains stuck in this state completely until refreshed. Even after refreshing it sometimes gets stuck like that.

Other people complained about this, too, but i couldn't find a proper report.

The URL is just an example - it happens with all changes.


Version: unspecified
Severity: normal
URL: https://gerrit.wikimedia.org/r/#q,3951,n,z

Details

Reference
bz35612

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:14 AM
bzimport added projects: Gerrit, acl*sre-team.
bzimport set Reference to bz35612.

I'm not sure whether it got worse or it always was like this, but it seems to me that now it happens with not half, but almost ALL commits and diffs.

It got worse when we moved to a new server in DC (the database is still in Tampa).

More details from Ryan here: http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059546.html

Assigning this to Ryan and, for good measure, created RT #2749

I suspect that this only affects Firefox.

Today I tried opening changes in Firefox and in Google Chrome. Most of the time it worked well in Chrome, but was very slow in Firefox.

<mozillian-rant>
More and more Google-related services break in Firefox and I start to sense that it's a conspiracy. Google+, GMail and now Gerrit.
</mozillian-rant>

... And now I suspect that this is specific to our installation.

If I compare the behavior of our installation to CyanogenMod's Gerrit, I see that their Gerrit works well in Firefox. Try it for yourself: http://review.cyanogenmod.com

(In reply to comment #7)

... And now I suspect that this is specific to our installation.

Please read comment 3.

(In reply to comment #8)

(In reply to comment #7)

... And now I suspect that this is specific to our installation.

Please read comment 3.

I read it. I don't see that it refers to the difference between how it works in Chrome and in Firefox.

For a more complete picture, I use Ubuntu 11.10 and the following browser versions:

  • Firefox 14.0a2 (2012-05-03)
  • Chromium 8.0.1025.151 (Developer Build 130497 Linux)

I see zero difference between the two locally.

We've moved the database server for gerrit, it's much much faster now.

Couple of edgecases on large diffs, but that's being tracked in other bugs.

Marking this FIXED.