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

Procedure for the clean up of the database #2844

Open
chills-eclipse opened this issue Aug 14, 2024 · 4 comments
Open

Procedure for the clean up of the database #2844

chills-eclipse opened this issue Aug 14, 2024 · 4 comments
Assignees

Comments

@chills-eclipse
Copy link

Hi John. We need a procedure on how to clean up the database from time to time to prevent the size to become uncontrollable. Can you please provide us the steps on what we can clean etc. Thanks

@denisroy
Copy link

@kineticsquid
Copy link
Contributor

@chills-eclipse Yep, something we need to get back to. @amvanbaren Thoughts?

@amvanbaren
Copy link
Contributor

@kineticsquid You want to move forward on eclipse/openvsx#888?

@kineticsquid
Copy link
Contributor

@amvanbaren MS doesn't limit extension versions. I'd like to see what other options we have.

The biggest offender is the file table. And there appear to be two API calls that could reference the table,

  • /api/.../logo/...
  • /api/.../file/...

Are there other API calls that reference the table?

I'm wondering if then consider where these API calls are coming from, we might be able to limit the size of the able. Where are calls to this API originating?

  • open-vsx.org UI
  • IDEs like Theia
  • npx ovsx commands like get

In this Gitlab issue, https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4797, @denisroy provided a dump of the access logs and I took a look at the use of the API

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

4 participants