Runaway Repo

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Runaway Repo

Peter Harrison-2
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?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Runaway Repo

Clay Ferguson
the keyword to search for is "compact". :)

Hope this might work for you...

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


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Runaway Repo

Peter Harrison-2
+100

Thanks muchly.

On Fri, Aug 4, 2017 at 2:28 PM, Clay Ferguson <[hidden email]> wrote:

> the keyword to search for is "compact". :)
>
> Hope this might work for you...
>
> https://jackrabbit.apache.org/oak/docs/command_line.html
>
> ​
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Runaway Repo

Andrew Khoury-2
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 <[hidden email]>
Sent: Thursday, August 3, 2017 7:58:55 PM
To: [hidden email]
Subject: Re: Runaway Repo

+100

Thanks muchly.

On Fri, Aug 4, 2017 at 2:28 PM, Clay Ferguson <[hidden email]> 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
>
> ​
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Runaway Repo

Clay Ferguson
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
[hidden email]


On Thu, Aug 3, 2017 at 11:24 PM, Andrew Khoury <[hidden email]>
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 <[hidden email]>
> Sent: Thursday, August 3, 2017 7:58:55 PM
> To: [hidden email]
> Subject: Re: Runaway Repo
>
> +100
>
> Thanks muchly.
>
> On Fri, Aug 4, 2017 at 2:28 PM, Clay Ferguson <[hidden email]> 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
> >
> > ​
> >
>
Loading...