aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/META-INF/MANIFEST.MF
diff options
context:
space:
mode:
authorDemetr Starshov <dstarshov@google.com>2020-05-06 17:53:36 -0700
committerDemetr Starshov <dstarshov@google.com>2020-05-08 17:57:20 -0700
commit9075beefb1bcde3eea9ccee7e34a74a0f61e7ea2 (patch)
treea60d2e121ec7bec35c970d7647ab6cf12fcddc8d /org.eclipse.jgit.test/META-INF/MANIFEST.MF
parent519cb1e91b06fbc82b7e87431ac7485bf3c9d91b (diff)
downloadjgit-9075beefb1bcde3eea9ccee7e34a74a0f61e7ea2.tar.gz
jgit-9075beefb1bcde3eea9ccee7e34a74a0f61e7ea2.zip
ReceivePack: adding IterativeConnectivityChecker
Introduce an IterativeConnectivityChecker which runs a connectivity check with a filtered set of references, and falls back to using the full set of advertised references. It uses references during first check attempt: - References that are ancestors of an incoming commits (e.g., pushing a commit onto an existing branch or pushing a new branch based on another branch) - Additional list of references we know client can be interested in (e.g. list of open changes for Gerrit) We tested it inside Google and it improves connectivity for certain topologies. For example connectivity counts for chromium.googlesource.com/chromium/src: percentile_50: 1923 (was: 22777) percentile_90: 23272 (was: 353003) percentile_99: 345522 (was: 353435) This saved ~2 seconds on every push to this repository. Signed-off-by: Demetr Starshov <dstarshov@google.com> Change-Id: I6543c2e10ed04622ca795b195665133e690d3b10
Diffstat (limited to 'org.eclipse.jgit.test/META-INF/MANIFEST.MF')
-rw-r--r--org.eclipse.jgit.test/META-INF/MANIFEST.MF1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.test/META-INF/MANIFEST.MF
index 6bd06e11b6..eda4505264 100644
--- a/org.eclipse.jgit.test/META-INF/MANIFEST.MF
+++ b/org.eclipse.jgit.test/META-INF/MANIFEST.MF
@@ -42,6 +42,7 @@ Import-Package: com.googlecode.javaewah;version="[1.1.6,2.0.0)",
org.eclipse.jgit.internal.storage.pack;version="[5.8.0,5.9.0)",
org.eclipse.jgit.internal.storage.reftable;version="[5.8.0,5.9.0)",
org.eclipse.jgit.internal.storage.reftree;version="[5.8.0,5.9.0)",
+ org.eclipse.jgit.internal.transport.connectivity;version="[5.8.0,5.9.0)",
org.eclipse.jgit.internal.transport.http;version="[5.8.0,5.9.0)",
org.eclipse.jgit.internal.transport.parser;version="[5.8.0,5.9.0)",
org.eclipse.jgit.junit;version="[5.8.0,5.9.0)",