flyweight - what is it and is it safe to delete?

744 views
Skip to first unread message

Gopal Singhal

unread,
Jan 10, 2018, 11:14:18 PM1/10/18
to go...@googlegroups.com
Hi,

In our Go server, flyweight directory /var/lib/go-server/pipelines/flyweight has grown to over 200Gb with some directories even older than 2 years.

Is it safe to remove old directories may be like any directory older than 6 months?

What is the significance of flyweight directories. e.g. (3927bc06-d4a7-4a25-a6bc-4e3e1e96d07f)? What I could make out is it is somewhere related to materials and polling.

Thanks,
Gopal

Ketan Padegaonkar

unread,
Jan 10, 2018, 11:30:58 PM1/10/18
to go...@googlegroups.com
tl;dr;

Yes the flyweight directory is safe to delete. Make sure to shutdown your server to avoid any issues later. Depending on the number size of materials, your server may take several minutes to clone these again at startup.



The long version

For some centralized SCMs like subversion and TFS, it's possible to do an update-check on a remote repository URL. For distributed SCMs like git and mercurial, the only way to check if new there are any new commits (and see the contents of the commits) is to clone the repository. These clones live in the flyweight directory. The server currently does not purge the contents of the flyweight directory when a material is removed.



--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages