| Issue 3135: | WIP Plugin: get a 'fetch failure on changes' error when attempting to use WIP feature | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: Gerrit ver 2.9.4, WIP plugin ver 2.9 What steps will reproduce the problem? 1. built the Work In Progress plugin from stable-2.9 branch[1] against Gerrit core 2.9.4 branch[2] 2. create a new Gerrit site 3. install built WIP plugin 4. push some changes to gerrit 5. WIP button appears on the new change screen 6. Click on white WIP button and enter some text then click on blue whip button to apply it. What is the expected output? What do you see instead? The change should be put into WIP state instead Internal Server error appears on UI. Gerrit log is attached, it contains a bunch of failures which appears to be SQL related. [1] https://gerrit.googlesource.com/plugins/wip/+/stable-2.9 [2] https://gerrit.googlesource.com/gerrit/+/stable-2.9
Jan 28, 2015
The error looked like a MySQL specific failure so I tried running the gerrit site against a fresh mysql db (ver 5.5.38-0ubuntu0.14.04.1). Once I did that this error no longer occurs. So the error in this bug is specific to using the H2 DB.
Jan 28, 2015
Yes, i wonder if you have old H2 driver? Does the newest one solves that problem for H2 as well?
Jan 28, 2015
Gerrit 2.9.4 seems to have a custom implementation of H2? I see some code in the gerrit-cache-h2 foler. Is it even possible to swap with with an upstream implementation? Anyways it looks like it may take some work to do use the latest upstream of that lib.
Jan 28, 2015
OK, i can reproduce it, and i have an idea what going wrong here. This is not H2 bug.
Status:
Accepted
Jan 29, 2015
(No comment was entered for this change.)
Status:
Submitted
Labels: FixedIn-2.11
Apr 16, 2015
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |
Cc: David.Os...@gmail.com