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