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

Database filled by versionned_resources entries #10

Open
Seraf opened this issue Jan 5, 2018 · 0 comments
Open

Database filled by versionned_resources entries #10

Seraf opened this issue Jan 5, 2018 · 0 comments

Comments

@Seraf
Copy link
Contributor

Seraf commented Jan 5, 2018

Hello,

We hit an issue when vault resource is used in few pipelines, it's creating a lot of new versions :

concourse=> select count(id) from  versioned_resources ; 
  count  
---------
 2783265
(1 row)

concourse=> select count(id) from  versioned_resources where type='vault'; 
  count  
---------
 2741569
(1 row)

concourse=> select count(id) from  versioned_resources where type!='vault'; 
 count 
-------
 41699
(1 row)

As you can see, it's populating a bit too much the database and overload it.
I think it should create a new version when vault is really used, not on every check.
Any idea how could we improve this ? Maybe a simple echo [] would be enough as we don't really need to have version/triggering on this part.

Thanks

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

1 participant