Upgrade JGit to 4.3.0.201604071810-r

this version brings the following fixes

- Fix jgit gc which retained garbage packs for 2 weeks which resulted
in repo size explosion [1] by introducing a new option for pack expiration
which by default expires packs after 1 hour

- Fix refcounting and reclaiming memory in RepositoryCache. Hugo
validated that this reduces memory consumption in Gerrit considerably

- Make the FileLfsRepository thread safe. This fixes a severe threading
issue for the lfs-storage-fs plugin [2]

[1] https://groups.google.com/forum/#!searchin/repo-discuss/gc/repo-discuss/JW06GsH0vLo/9GV4TL0VDgAJ
[2] https://git.eclipse.org/r/#/c/52177/16/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java

Change-Id: If6ba90c5e79747d20338ad32f03624a6bd75ee43
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn
2016-04-08 14:19:51 +02:00
parent 7538a345e1
commit fc54a60dd6
5 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
include_defs('//lib/maven.defs')
REPO = GERRIT # Leave here even if set to MAVEN_CENTRAL.
VERS = '4.2.0.201601211800-r.136-g8efdaaf'
REPO = MAVEN_CENTRAL # Leave here even if set to MAVEN_CENTRAL.
VERS = '4.3.0.201604071810-r'

View File

@@ -4,7 +4,7 @@ include_defs('//lib/JGIT_VERSION')
maven_jar(
name = 'jgit-archive',
id = 'org.eclipse.jgit:org.eclipse.jgit.archive:' + VERS,
sha1 = '1b3a0cb7b8c2629e33902b3daf1067accca62eaf',
sha1 = 'c065b765aac56cdbe531634fdfd829a6ce8bbd0c',
license = 'jgit',
repository = REPO,
deps = ['@jgit//org.eclipse.jgit:jgit'],

View File

@@ -4,7 +4,7 @@ include_defs('//lib/JGIT_VERSION')
maven_jar(
name = 'jgit-servlet',
id = 'org.eclipse.jgit:org.eclipse.jgit.http.server:' + VERS,
sha1 = 'b493401b9778cdc38f7c08f111c6385a434b2ac2',
sha1 = '516925ff0df67705e368c905a910ed982655cc32',
license = 'jgit',
repository = REPO,
deps = ['@jgit//org.eclipse.jgit:jgit'],

View File

@@ -4,7 +4,7 @@ include_defs('//lib/JGIT_VERSION')
maven_jar(
name = 'junit',
id = 'org.eclipse.jgit:org.eclipse.jgit.junit:' + VERS,
sha1 = 'c68ddb3e2aaca05b1d2f8250dd107b5f484ed603',
sha1 = '060a98c260b23f64c47e3fb4d77b684ccb64c114',
license = 'DO_NOT_DISTRIBUTE',
repository = REPO,
unsign = True,

View File

@@ -4,8 +4,8 @@ include_defs('//lib/JGIT_VERSION')
maven_jar(
name = 'jgit',
id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
bin_sha1 = '32f50e3c0c4f53d8fdca147d3ff0b6ef0dc02eb0',
src_sha1 = '1ff155886d6ce2e6e566a90960862aa0e5b226d8',
bin_sha1 = 'e3c57967fb8df5172d62bb4bbbd355554db4c65d',
src_sha1 = '4d64b05a50d581a2884a5b7dc66163be18bac755',
license = 'jgit',
repository = REPO,
unsign = True,