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:
@@ -1,4 +1,4 @@
|
|||||||
include_defs('//lib/maven.defs')
|
include_defs('//lib/maven.defs')
|
||||||
|
|
||||||
REPO = GERRIT # Leave here even if set to MAVEN_CENTRAL.
|
REPO = MAVEN_CENTRAL # Leave here even if set to MAVEN_CENTRAL.
|
||||||
VERS = '4.2.0.201601211800-r.136-g8efdaaf'
|
VERS = '4.3.0.201604071810-r'
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ include_defs('//lib/JGIT_VERSION')
|
|||||||
maven_jar(
|
maven_jar(
|
||||||
name = 'jgit-archive',
|
name = 'jgit-archive',
|
||||||
id = 'org.eclipse.jgit:org.eclipse.jgit.archive:' + VERS,
|
id = 'org.eclipse.jgit:org.eclipse.jgit.archive:' + VERS,
|
||||||
sha1 = '1b3a0cb7b8c2629e33902b3daf1067accca62eaf',
|
sha1 = 'c065b765aac56cdbe531634fdfd829a6ce8bbd0c',
|
||||||
license = 'jgit',
|
license = 'jgit',
|
||||||
repository = REPO,
|
repository = REPO,
|
||||||
deps = ['@jgit//org.eclipse.jgit:jgit'],
|
deps = ['@jgit//org.eclipse.jgit:jgit'],
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ include_defs('//lib/JGIT_VERSION')
|
|||||||
maven_jar(
|
maven_jar(
|
||||||
name = 'jgit-servlet',
|
name = 'jgit-servlet',
|
||||||
id = 'org.eclipse.jgit:org.eclipse.jgit.http.server:' + VERS,
|
id = 'org.eclipse.jgit:org.eclipse.jgit.http.server:' + VERS,
|
||||||
sha1 = 'b493401b9778cdc38f7c08f111c6385a434b2ac2',
|
sha1 = '516925ff0df67705e368c905a910ed982655cc32',
|
||||||
license = 'jgit',
|
license = 'jgit',
|
||||||
repository = REPO,
|
repository = REPO,
|
||||||
deps = ['@jgit//org.eclipse.jgit:jgit'],
|
deps = ['@jgit//org.eclipse.jgit:jgit'],
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ include_defs('//lib/JGIT_VERSION')
|
|||||||
maven_jar(
|
maven_jar(
|
||||||
name = 'junit',
|
name = 'junit',
|
||||||
id = 'org.eclipse.jgit:org.eclipse.jgit.junit:' + VERS,
|
id = 'org.eclipse.jgit:org.eclipse.jgit.junit:' + VERS,
|
||||||
sha1 = 'c68ddb3e2aaca05b1d2f8250dd107b5f484ed603',
|
sha1 = '060a98c260b23f64c47e3fb4d77b684ccb64c114',
|
||||||
license = 'DO_NOT_DISTRIBUTE',
|
license = 'DO_NOT_DISTRIBUTE',
|
||||||
repository = REPO,
|
repository = REPO,
|
||||||
unsign = True,
|
unsign = True,
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ include_defs('//lib/JGIT_VERSION')
|
|||||||
maven_jar(
|
maven_jar(
|
||||||
name = 'jgit',
|
name = 'jgit',
|
||||||
id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
|
id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
|
||||||
bin_sha1 = '32f50e3c0c4f53d8fdca147d3ff0b6ef0dc02eb0',
|
bin_sha1 = 'e3c57967fb8df5172d62bb4bbbd355554db4c65d',
|
||||||
src_sha1 = '1ff155886d6ce2e6e566a90960862aa0e5b226d8',
|
src_sha1 = '4d64b05a50d581a2884a5b7dc66163be18bac755',
|
||||||
license = 'jgit',
|
license = 'jgit',
|
||||||
repository = REPO,
|
repository = REPO,
|
||||||
unsign = True,
|
unsign = True,
|
||||||
|
|||||||
Reference in New Issue
Block a user