Merge branch 'stable-2.9'

* stable-2.9:
  Executing CherryPick.writeCherryPickCommit() in a transaction.
  Bump API version to 2.8.6
  Release notes for Gerrit 2.8.6
  Add missing 'link:' in 2.8.5 release notes
  ChangeMergeQueue: Fix race condition

Conflicts:
	VERSION

Change-Id: I736038ec00d7e9656de0d5b9043498a479cdbd01
This commit is contained in:
David Pursehouse 2014-06-25 21:25:38 +09:00
commit 5349313f92
5 changed files with 29 additions and 4 deletions

View File

@ -73,7 +73,7 @@ ssh
* Upgrade SSHD to version 0.11.0. * Upgrade SSHD to version 0.11.0.
+ +
Fixes https://code.google.com/p/gerrit/issues/detail?id=2406[Issue 2406]: Fixes link:https://code.google.com/p/gerrit/issues/detail?id=2406[Issue 2406]:
"git clone" hangs after 100% resolving deltas with git over SSH. "git clone" hangs after 100% resolving deltas with git over SSH.
+ +
Fixes a number of other issues including a Fixes a number of other issues including a

View File

@ -0,0 +1,23 @@
Release notes for Gerrit 2.8.6
==============================
There are no schema changes from link:ReleaseNotes-2.8.5.html[2.8.5].
Download:
link:https://gerrit-releases.storage.googleapis.com/gerrit-2.8.6.war[
https://gerrit-releases.storage.googleapis.com/gerrit-2.8.6.war]
Bug Fixes
---------
* link:https://code.google.com/p/gerrit/issues/detail?id=2034[Issue 2034],
link:https://code.google.com/p/gerrit/issues/detail?id=2383[Issue 2383],
link:https://code.google.com/p/gerrit/issues/detail?id=2702[Issue 2702]:
Fix race condition in change merge queue.
+
There was a race in the merge queue between changes submitted via
the UI, and merges scheduled by the background merge queue reload.
+
This resulted in multiple submit actions being scheduled, leading
to corrupt changes.

View File

@ -9,6 +9,7 @@ Version 2.9.x
[[2_8]] [[2_8]]
Version 2.8.x Version 2.8.x
------------- -------------
* link:ReleaseNotes-2.8.6.html[2.8.6]
* link:ReleaseNotes-2.8.5.html[2.8.5] * link:ReleaseNotes-2.8.5.html[2.8.5]
* link:ReleaseNotes-2.8.4.html[2.8.4] * link:ReleaseNotes-2.8.4.html[2.8.4]
* link:ReleaseNotes-2.8.3.html[2.8.3] * link:ReleaseNotes-2.8.3.html[2.8.3]

View File

@ -3,4 +3,3 @@
# when talking to the destination repository. # when talking to the destination repository.
# #
GERRIT_VERSION = '2.10-SNAPSHOT' GERRIT_VERSION = '2.10-SNAPSHOT'

View File

@ -146,9 +146,11 @@ public class ChangeMergeQueue implements MergeQueue {
if (e == null) { if (e == null) {
e = new MergeEntry(branch); e = new MergeEntry(branch);
active.put(branch, e); active.put(branch, e);
e.needMerge = true;
scheduleJob(e);
} else {
e.needMerge = true;
} }
e.needMerge = true;
scheduleJob(e);
} }
@Override @Override