My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3348: Large files >500MB cause reviews to become unviewable
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by amoskah...@gmail.com, May 1, 2015
*****************************************************************
*****                                                       *****
***** !!!! 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
May 5, 2015
Project Member #1 edwin.ke...@gmail.com
Which person is able to review changes in a 500MB binary file?
Sign in to add a comment

Powered by Google Project Hosting