*****************************************************************
***** *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!! *****
***** *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD, *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
***** *****
***** THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS *****
***** *****
*****************************************************************
Affected Version: 2.11
What steps will reproduce the problem?
1. Generate a large binary file > 500 MB: dd if=/dev/urandom of=random.blob bs=1000 count=700000
2. Commit this file and submit it for review
What is the expected output? What do you see instead?
Expected: The navigatting to the review in the Gerrit UI should show it normally.
Actual: Navigating to the gerrit review shows an error message "The page you requested was not found, or you do not have permission to view this page"
Please provide any additional information below.
If you amend the commit and replace the large file with a smaller version (400 MB or less), it will work ok.
Inspecting the gerrit log shows the following error messages:
java.util.concurrent.ExecutionException: org.eclipse.jgit.errors.MissingObjectException: Missing unknown 7302d944b79c480e4480003c875afb45615e6c7a
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:137)
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2348)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2320)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
7302d944b79c480e4480003c875afb45615e6c7a is the hash of the >500MB file