Re: [go-cd] flyweight - what is it and is it safe to delete?

2018-01-10 Thread Ketan Padegaonkar
*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.



On Thu, Jan 11, 2018 at 9:44 AM Gopal Singhal 
wrote:

> 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
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-cd] flyweight - what is it and is it safe to delete?

2018-01-10 Thread Gopal Singhal
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

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.