You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Peter Harrison <ch...@gmail.com> on 2017/08/04 02:07:50 UTC

Runaway Repo

A automated script ran away adding nodes to my Oak repo. While I can remove
these rubbish nodes it seems this will not clean up space in MongoDB. Is
there a way to clean up so that nodes that are removed are no longer in the
DB? Is there a cron based cleanup?

Re: Runaway Repo

Posted by Clay Ferguson <wc...@gmail.com>.
Andrew,
Thanks for that additional info about MongoDB. I would make the humble
suggestion that both those documents point to each other, if any of you
guys (at Adobe) happen to have a todo list you can put that on.  Being able
to free up deleted space is an important thing of course.

Best regards,
Clay Ferguson
wclayf@gmail.com


On Thu, Aug 3, 2017 at 11:24 PM, Andrew Khoury <ak...@adobe.com.invalid>
wrote:

> Hi Peter,
>
> Compaction is for Oak SegmentStore.  For (MongoDB) DocumentNodeStore
> setups you have to run "Revision Garbage Collection" as documented here:
>
> https://jackrabbit.apache.org/oak/docs/nodestore/documentmk.html
>
> Thanks,
>
> Andrew
>
> ________________________________
> From: Peter Harrison <ch...@gmail.com>
> Sent: Thursday, August 3, 2017 7:58:55 PM
> To: users@jackrabbit.apache.org
> Subject: Re: Runaway Repo
>
> +100
>
> Thanks muchly.
>
> On Fri, Aug 4, 2017 at 2:28 PM, Clay Ferguson <wc...@gmail.com> wrote:
>
> > the keyword to search for is "compact". :)
> >
> > Hope this might work for you...
> >
> > https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fjackrabbit.apache.org%2Foak%2Fdocs%
> 2Fcommand_line.html&data=02%7C01%7C%7C2547cd8075274cef5de308d4dae4c184%
> 7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636374123414815628&sdata=
> xtbtEuCGhDiYgTrXXvFrS7HCoU%2FnE1UTvQyiY8rSX8Q%3D&reserved=0
> >
> > ​
> >
>

Re: Runaway Repo

Posted by Andrew Khoury <ak...@adobe.com.INVALID>.
Hi Peter,

Compaction is for Oak SegmentStore.  For (MongoDB) DocumentNodeStore setups you have to run "Revision Garbage Collection" as documented here:

https://jackrabbit.apache.org/oak/docs/nodestore/documentmk.html

Thanks,

Andrew

________________________________
From: Peter Harrison <ch...@gmail.com>
Sent: Thursday, August 3, 2017 7:58:55 PM
To: users@jackrabbit.apache.org
Subject: Re: Runaway Repo

+100

Thanks muchly.

On Fri, Aug 4, 2017 at 2:28 PM, Clay Ferguson <wc...@gmail.com> wrote:

> the keyword to search for is "compact". :)
>
> Hope this might work for you...
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjackrabbit.apache.org%2Foak%2Fdocs%2Fcommand_line.html&data=02%7C01%7C%7C2547cd8075274cef5de308d4dae4c184%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636374123414815628&sdata=xtbtEuCGhDiYgTrXXvFrS7HCoU%2FnE1UTvQyiY8rSX8Q%3D&reserved=0
>
> ​
>

Re: Runaway Repo

Posted by Peter Harrison <ch...@gmail.com>.
+100

Thanks muchly.

On Fri, Aug 4, 2017 at 2:28 PM, Clay Ferguson <wc...@gmail.com> wrote:

> the keyword to search for is "compact". :)
>
> Hope this might work for you...
>
> https://jackrabbit.apache.org/oak/docs/command_line.html
>
> ​
>

Re: Runaway Repo

Posted by Clay Ferguson <wc...@gmail.com>.
the keyword to search for is "compact". :)

Hope this might work for you...

https://jackrabbit.apache.org/oak/docs/command_line.html

​