corrupted mercurial repository

  17 posts   Feedicon  
Replies: 16 - Last Post: September 21, 2010 21:24
by: lea_wang
showing 1 - 17 of 17
 
Posted: May 14, 2010 19:56 by paulosiqueira
Hi,

The mercurial repository for one of the projects I'm in in Kenai seems to be corrupted. When doing a hg pull, I get this error:

abort: premature EOF reading chunk (got 39042 bytes, expected 53636)



What could be the problem?

The project is mandril, and the repository mandril~mandril-rts.

Thank you!
 
Posted: May 17, 2010 17:34 by lea_wang
Which client and OS are you for pulling the mercurial repo?

-Lea Wang
The Project Kenai Team
 
Posted: May 18, 2010 04:04 by paulosiqueira
Seems to be happening everywhere - tested with Netbeans and from the console, both under linux and Mac OS.
 
Posted: May 18, 2010 15:42 by lea_wang
Which project is this? We will look into it right away.

Thanks,
-Lea
 
Posted: May 19, 2010 19:22 by paulosiqueira
http://kenai.com/projects/mandril/sources/mandril-rts/show
 
Posted: May 21, 2010 23:46 by lea_wang
Filed a http://kenai.com/jira/browse/KENAI-2017 to track. Thanks, Paul and Martin for the info.

-Lea
 
Posted: May 24, 2010 13:58 by paulosiqueira
We have a local copy of the repository that seems to be working fine, maybe a solution would be to delete the repository at kenai and copy our local copy over to kenai again? Would this be feasible?
 
Posted: May 24, 2010 23:14 by lea_wang
If you don't mind, can you rename existing mandril~mandril-rts repository name / display name to be something that indicates not the one to be used. We would like to investigate further on the repo issue, but we don't want to block you. Then you can create a repository and check in what you have locally. If you prefer to delete the old repository, you can do so via manage/features tab.

See below links on how to delete and edit an existing repository:

http://kenai.com/projects/help/pages/ManageProject#Deleting_a_Source_Code_Repository
http://kenai.com/projects/help/pages/ManageProject#Editing_a_Source_Code_Repository_s_Settings

Thanks,
-Lea

 
Posted: May 25, 2010 19:34 by paulosiqueira
I renamed name and display name to <original>2 and created a new one with the old name. We did a push from our existent, up-to-date repository and it seems to be working. We will test it a little more though.

Do you want me to keep the <>2 project there so that you can investigate the problem and avoid future ones, or should I just delete it?
 
Posted: May 26, 2010 07:15 by lea_wang
If you can keep <>2 repository for couple more days, that will be great. Thanks much.

-Lea
 
Posted: June 16, 2010 23:24 by lea_wang
We have root caused the corruption issue related to this repository. We accidentally exclude home subdirectory data copy during the data center move in May. It should not happen again. Please feel free to remove mandril~mandril-rts2. Thanks again.

-Lea
 
Posted: May 20, 2010 09:16 by Martin Fousek
I'm not able to clone this project over HTTPS or SSH as well.

Lea I found few discussions which leads to increasing RLimitMEM in .htaccess file:
http://markmail.org/message/6th4kfvm33ctoyc6#query:hg%20abort%3A%20premature%20EOF%20reading%20chunk+page:1+mid:6th4kfvm33ctoyc6+state:results
 
Posted: September 21, 2010 16:59 by muncher
I am not able to clone the project aura (http://kenai.com/projects/aura/)


hg clone https://hg.kenai.com/hg/aura~mercurial


I get back an error something like mpatch error -
mpatch.mpatchError: patch cannot be decoded


Let me know if there are other methods to download the repository.
 
Posted: September 21, 2010 18:45 by Edwin Goei
It turns out that the problem is with the repository itself so the following suggestion will also fail. In any case, someone is looking into the problem.

----
Looks like a bug. As a workaround, you can add a public key to your profile and try ssh access:

$ hg clone ssh://muncher@hg.kenai.com/aura~mercurial
 
Posted: September 21, 2010 17:02 by muncher
http://www.selenic.com/pipermail/mercurial/2006-November/011695.html
 
Posted: September 21, 2010 19:07 by lea_wang
Hi Muncher,

As discussed in offline email. This mercurial issue is not related to missing files that we can help with. It is due to whoever checkin the revision caused bad revision info. I have sent the info to aura project admins to ask them to provide additional info.

Here is the "hg verify" output on the server:

data/grid/grid-deploy/on-grid-config/gf/admin-keyfile.i@2581:
missing revlog!
2581: empty or missing
grid/grid-deploy/on-grid-config/gf/admin-keyfile
grid/grid-deploy/on-grid-config/gf/admin-keyfile@2581:
076f0fb21ff6 in manifests not found
data/grid/grid-deploy/on-grid-config/gf/cacerts.jks.i@2581:
missing revlog!
2581: empty or missing grid/grid-deploy/on-grid-config/gf/cacerts.jks
grid/grid-deploy/on-grid-config/gf/cacerts.jks@2581: 3ca13f206e52
in manifests not found
data/grid/grid-deploy/on-grid-config/gf/default-web.xml.i@2581:
missing revlog!
2581: empty or missing
grid/grid-deploy/on-grid-config/gf/default-web.xml
grid/grid-deploy/on-grid-config/gf/default-web.xml@2581:
ed05bad294b2 in manifests not found
data/grid/grid-deploy/on-grid-config/gf/domain-passwords.i@2581:
missing revlog!
2581: empty or missing
grid/grid-deploy/on-grid-config/gf/domain-passwords
grid/grid-deploy/on-grid-config/gf/domain-passwords@2581:
00b51b735e08 in manifests not found
data/grid/grid-deploy/on-grid-config/gf/domain.xml.i@2581: missing
revlog!
2581: empty or missing grid/grid-deploy/on-grid-config/gf/domain.xml
grid/grid-deploy/on-grid-config/gf/domain.xml@2581: 40b8af04530f
in manifests not found
grid/grid-deploy/on-grid-config/gf/domain.xml@2635: 18fd92d67a1e
in manifests not found
grid/grid-deploy/on-grid-config/gf/domain.xml@2749: 3d5f7e4e9a40
in manifests not found
data/grid/grid-deploy/on-grid-config/gf/domain.xml.bak.i@2581:
missing revlog!
2581: empty or missing
grid/grid-deploy/on-grid-config/gf/domain.xml.bak
grid/grid-deploy/on-grid-config/gf/domain.xml.bak@2581:
8f1c9919c227 in manifests not found
data/grid/grid-deploy/on-grid-config/gf/keyfile.i@2581: missing
revlog!
2581: empty or missing grid/grid-deploy/on-grid-config/gf/keyfile
grid/grid-deploy/on-grid-config/gf/keyfile@2581: 664e5d1d5659 in
manifests not found
data/grid/grid-deploy/on-grid-config/gf/keystore.jks.i@2581:
missing revlog!
2581: empty or missing grid/grid-deploy/on-grid-config/gf/keystore.jks
grid/grid-deploy/on-grid-config/gf/keystore.jks@2581: 6a7418d4625a
in manifests not found
data/grid/grid-deploy/on-grid-config/gf/logging.properties.i@2581:
missing revlog!
2581: empty or missing
grid/grid-deploy/on-grid-config/gf/logging.properties
grid/grid-deploy/on-grid-config/gf/logging.properties@2581:
c7bfcbb8d5ef in manifests not found
grid/grid-deploy/on-grid-config/gf/logging.properties@2598:
fc2670dfc844 in manifests not found
data/grid/grid-deploy/on-grid-config/gf/login.conf.i@2581: missing
revlog!
2581: empty or missing grid/grid-deploy/on-grid-config/gf/login.conf
grid/grid-deploy/on-grid-config/gf/login.conf@2581: 7e0e893f2d26
in manifests not found
data/grid/grid-deploy/on-grid-config/gf/secure.seed.i@2581:
missing revlog!
2581: empty or missing grid/grid-deploy/on-grid-config/gf/secure.seed
grid/grid-deploy/on-grid-config/gf/secure.seed@2581: e149d8ac18c9
in manifests not found
data/grid/grid-deploy/on-grid-config/gf/server.policy.i@2581:
missing revlog!
2581: empty or missing
grid/grid-deploy/on-grid-config/gf/server.policy
grid/grid-deploy/on-grid-config/gf/server.policy@2581:
6cf9487db203 in manifests not found
grid/grid-deploy/on-grid-config/gf/server.policy@2749:
52208de87e3a in manifests not found
data/grid/grid-deploy/on-grid-config/gf/sun-acc.xml.i@2581:
missing revlog!
2581: empty or missing grid/grid-deploy/on-grid-config/gf/sun-acc.xml
grid/grid-deploy/on-grid-config/gf/sun-acc.xml@2581: 9f864c908683
in manifests not found
3497 files, 2767 changesets, 11264 total revisions
43 integrity errors encountered!
(first damaged changeset appears to be 2581)

Rev 2581
(http://kenai.com/projects/aura/sources/mercurial/revision/2581)
was from 2009-06-30.

Then we see more checkin adding these files again on Rev 2587
(http://kenai.com/projects/aura/sources/mercurial/revision/2587)

same on rev 2590
(http://kenai.com/projects/aura/sources/mercurial/revision/2590)

It has nothing to do apache or ssh servers for mercurial. We can check out any other hg repositories, but not this one due to inconsistent revision checkin....

Thanks,
-Lea Wang
The Project Kenai Team.
 
Posted: September 21, 2010 21:24 by lea_wang
Hi Muncher,

Resolved the hg server issue for aura~mercurial. Please give a try again.

Thanks,
-Lea Wang
showing 1 - 17 of 17
Replies: 16 - Last Post: September 21, 2010 21:24
by: lea_wang
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close