Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository size of mirror bigger than repository size #15508

Open
alexanderadam opened this issue Apr 16, 2021 · 4 comments
Open

Repository size of mirror bigger than repository size #15508

alexanderadam opened this issue Apr 16, 2021 · 4 comments

Comments

@alexanderadam
Copy link

  • Gitea version (or commit ref): 1.12.6 built with GNU Make 4.2.1, go1.14.12 : bindata, sqlite, sqlite_unlock_notify
  • postgres

Description

I admit that I have barely have data now but I saw that I had a mirrored repository that was much bigger than the original repository. I deleted the repository and recreated the mirror and now the size is as expected.
It didn't have any additional branches, forks, wiki or assets. It was really just a mirrored repository. Also Prune was activated in Mirror Settings.

Do you have any idea what might have caused this, how to fix it or how I could get some additional data in retrospect?

@lunny
Copy link
Member

lunny commented Apr 16, 2021

Are there also archivers which stored under the repository. I think It depends on have you download archivers.

@alexanderadam
Copy link
Author

It depends on have you download archivers.

I don't know what this means but I didn't do anything except of using the regular mirror functionality.

@stale
Copy link

stale bot commented Jun 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale stale bot added the issue/stale label Jun 16, 2021
@99rgosse
Copy link
Contributor

I've got the same issue on a Gitea 1.14.6 with huge data.
My migrated repository (with lots of LFS files) is about 9Gb and Gitea shows 14Gb, the original repo on Gitlab is 4.5 Gb.

I tried Garbage collection and check repository statistic tasks, but nothing for the moment.
(Garbage Collection seems not to go through all, but as my data are really huge, I think it needs some more time...)

@stale stale bot removed the issue/stale label Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants