You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Wendy Smoak <ws...@gmail.com> on 2008/05/12 00:20:03 UTC

Continuum data accumulation

Continuum has a habit of accumulating data that users can't get rid
of.  We've improved this-- for example you can now delete build
results through the UI-- but there's more to be done.

First I'd like to get a list of everything that gets created...

Database
 * projects
 * build results
 * users
 * login keys (these currently do NOT get cleaned up, see REDBACK-137)
 * security roles (no way to delete these, either,)
 *  ... (this may just be a list of all the table names)

Filesystem
 * log files (list?)
 * build result text files
 * project working copies
 * release working copies (** can't be deleted from UI)

Is there anything else?

... then we can make sure there's a way to get rid of these things,
either through a scheduled or on-demand purge, or by adding 'delete'
buttons where appropriate to let users delete things one at a time.

Thanks,
-- 
Wendy

Re: Continuum data accumulation

Posted by Wendy Smoak <ws...@gmail.com>.
On Sun, May 11, 2008 at 3:20 PM, Wendy Smoak <ws...@gmail.com> wrote:

>  Is there anything else?

Assuming m2 is in use, the local repository on the build server will
fill up with snapshots and other artifacts.

 * http://jira.codehaus.org/browse/CONTINUUM-1693 - Continuum fills
our server disk with SNAPSHOTs

 * http://www.nabble.com/local-repository-purge-plugin-td16937047.html

-- 
Wendy

Re: Continuum data accumulation

Posted by Brett Porter <br...@apache.org>.
On 12/05/2008, at 8:41 AM, Wendy Smoak wrote:

> On Sun, May 11, 2008 at 3:30 PM, Brett Porter <br...@apache.org>  
> wrote:
>
>>> * security roles (no way to delete these, either,)
>>
>> that's a bug isn't it? It should be attached to the groups they  
>> belong to.
>
> No.  Roles don't get deleted when the project does... otherwise in a
> distributed installation, you might end up removing roles that are
> still in use on another instance.  (Shared user database, same project
> group exists on more than one server... perhaps different platforms.)
> (REDBACK-138)

Maybe they need reference counting then, since you shouldn't  
automatically create something you can't automatically delete :)

>
>
>>> * release working copies (** can't be deleted from UI)
>>
>> aren't these under the project working copy? Still would be best  
>> separated.
>
> No, every time you release you get a new directory in
> /path/to/working-copies.  It's somewhat related to the fact the text
> output from releases is discarded... it should show up in the build
> results, or somewhere, and then we could add a delete option.
> (CONTINUUM-1759)

Yes, the way these are integrated into the other builds wholly needs a  
review, but I'm surprised this happens - that's a big problem.

Cheers,
Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


Re: Continuum data accumulation

Posted by Wendy Smoak <ws...@gmail.com>.
On Sun, May 11, 2008 at 3:30 PM, Brett Porter <br...@apache.org> wrote:

> > * security roles (no way to delete these, either,)
>
>  that's a bug isn't it? It should be attached to the groups they belong to.

No.  Roles don't get deleted when the project does... otherwise in a
distributed installation, you might end up removing roles that are
still in use on another instance.  (Shared user database, same project
group exists on more than one server... perhaps different platforms.)
(REDBACK-138)

> > * release working copies (** can't be deleted from UI)
>
>  aren't these under the project working copy? Still would be best separated.

No, every time you release you get a new directory in
/path/to/working-copies.  It's somewhat related to the fact the text
output from releases is discarded... it should show up in the build
results, or somewhere, and then we could add a delete option.
(CONTINUUM-1759)

Thanks,
-- 
Wendy

Re: Continuum data accumulation

Posted by Brett Porter <br...@apache.org>.
Good idea Wendy. Your list looks complete to me.

On 12/05/2008, at 8:20 AM, Wendy Smoak wrote:

> * security roles (no way to delete these, either,)

that's a bug isn't it? It should be attached to the groups they belong  
to.

> Filesystem
> * log files (list?)

the only one controlled by Continuum is the rotated continuum.log from  
log4j. The rest are from the container, in the case of the default  
bundle it's a short, rotated wrapper log and stdout log (I don't think  
access log is enabled)

> * release working copies (** can't be deleted from UI)

aren't these under the project working copy? Still would be best  
separated.

Cheers,
Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/