Re: Oak related question

2018-03-19 Thread Kalach, Dmitry
Thank you for your help.


От: Vikas Saurabh <vikas.saur...@gmail.com>
Отправлено: 16 марта 2018 г. 19:14:36
Кому: oak-dev@jackrabbit.apache.org
Тема: Re: Oak related question

Hi,

On Fri, Mar 16, 2018 at 9:07 AM, Kalach, Dmitry
<d.kal...@itransition.com> wrote:
> Sometimes it causes a multiple versions of files in Oak, like this
>
> "jcr:data" : {
> "r1622ec2af77-0-1" : 
> "\":blobId:0100c49320202c3c0269aea8e3cf205f4765e4c4e55a7102fae9d09a4307c05f0aafdac20954\"",
> "r1622ed13bac-0-c8" : 
> "\":blobId:0100c59320201328a6ecda51a2a57ab20e5d86173711f60ed07de212d2a81c918b3b56aecb63\"",
> "r1622ef69b14-0-ca" : 
> "\":blobId:0100cb932020be60317852ad8925c2c51d5c6df4092f6bdfbc961666e64779642a04146e70dd\""
> },
>
> We have nodes with 30+ available versions. But we do not need them. Oak run 
> shows this old versios as garbage, but revisions gc and blobs gc do not 
> deleted them.
>
> It is possible to delete all old versions for each node and leave only one 
> actual version?

While, I don't know of any way of "forcing" only 1 version to remain
for a binary reference - BUT,
https://issues.apache.org/jira/browse/OAK-5205 might be useful to drop
the reference rather early so that it can be garbage collected.

Thanks,
Vikas


Re: Oak related question

2018-03-16 Thread Kalach, Dmitry
We're using Oak as JCR-implementation to save various files in our system.

This is usual in our system to change file and save it again.

Sometimes it causes a multiple versions of files in Oak, like this

"jcr:data" : {
"r1622ec2af77-0-1" : 
"\":blobId:0100c49320202c3c0269aea8e3cf205f4765e4c4e55a7102fae9d09a4307c05f0aafdac20954\"",
"r1622ed13bac-0-c8" : 
"\":blobId:0100c59320201328a6ecda51a2a57ab20e5d86173711f60ed07de212d2a81c918b3b56aecb63\"",
"r1622ef69b14-0-ca" : 
"\":blobId:0100cb932020be60317852ad8925c2c51d5c6df4092f6bdfbc961666e64779642a04146e70dd\""
},

We have nodes with 30+ available versions. But we do not need them. Oak run 
shows this old versios as garbage, but revisions gc and blobs gc do not deleted 
them.

It is possible to delete all old versions for each node and leave only one 
actual version?


От: Angela Schreiber <anch...@adobe.com.INVALID>
Отправлено: 16 марта 2018 г. 10:59:04
Кому: oak-dev@jackrabbit.apache.org
Тема: Re: Oak related question

Hi

This mailing list the right channel to post questions regarding Oak.

Regards
Angela


On 16/03/18 08:19, "Kalach, Dmitry" <d.kal...@itransition.com> wrote:

>Hi
>
>We're using Jackrabbit Oak in our production.
>And I have a question about how it works. Unfortunately, I've failed to
>find any other email address to connect with oak developers.



Oak related question

2018-03-16 Thread Kalach, Dmitry
Hi

We're using Jackrabbit Oak in our production.
And I have a question about how it works. Unfortunately, I've failed to find 
any other email address to connect with oak developers.