<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic After deleting a document the associated binaries are getting abandoned. in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/after-deleting-a-document-the-associated-binaries-are-getting/m-p/323522#M10523</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;I have main document which contains many sub document .
and many binaries are attached to  main document and each sub document (more than one level).&lt;/P&gt;
&lt;P&gt;After deleting the main document (hard delete using Coresesssion.removeDocument()) the main document all the other document and their associated binaries must be deleted .
but thats not the case .&lt;/P&gt;
&lt;P&gt;In nuxeo admin center  i find all the binaries are in active state .Thats why the garbage collection don't take place and space is not getting reduced.&lt;/P&gt;
&lt;P&gt;for example :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Nuxeo is on for the first time with no data. (no of active binaries 0 ,no of orphaned binaries 0)&lt;/LI&gt;
&lt;LI&gt;Create main document and import data (no of active binaries 483  ,no of orphaned binaries 0)&lt;/LI&gt;
&lt;LI&gt;Delete the main document  (no of active binaries 483  ,no of orphaned binaries 0)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After 3rd step the active binaries must be zero but thats not the case .
I am using embedded H2 db .I check for the soft delete but its not enabled.&lt;/P&gt;
&lt;P&gt;I don't understand why there is still some reference to the binaries ??&lt;/P&gt;
&lt;P&gt;After long analysis i came to know that there is open bug in the nuxeo :&lt;/P&gt;
&lt;P&gt;&lt;A href="http://answers.nuxeo.com/questions/9948/automation-why-do-i-got-zombies-doc-with-pathnull-in-database" target="test_blank"&gt;http://answers.nuxeo.com/questions/9948/automation-why-do-i-got-zombies-doc-with-pathnull-in-database&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXP-13398" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXP-13398&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am currently using 5.8.0-HF09.&lt;/P&gt;
&lt;P&gt;Do anyone know if  this from is fixed in next hot releases  .&lt;/P&gt;
&lt;P&gt;thanks
atul&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2014 06:20:40 GMT</pubDate>
    <dc:creator>atul_</dc:creator>
    <dc:date>2014-09-23T06:20:40Z</dc:date>
    <item>
      <title>After deleting a document the associated binaries are getting abandoned.</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/after-deleting-a-document-the-associated-binaries-are-getting/m-p/323522#M10523</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;I have main document which contains many sub document .
and many binaries are attached to  main document and each sub document (more than one level).&lt;/P&gt;
&lt;P&gt;After deleting the main document (hard delete using Coresesssion.removeDocument()) the main document all the other document and their associated binaries must be deleted .
but thats not the case .&lt;/P&gt;
&lt;P&gt;In nuxeo admin center  i find all the binaries are in active state .Thats why the garbage collection don't take place and space is not getting reduced.&lt;/P&gt;
&lt;P&gt;for example :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Nuxeo is on for the first time with no data. (no of active binaries 0 ,no of orphaned binaries 0)&lt;/LI&gt;
&lt;LI&gt;Create main document and import data (no of active binaries 483  ,no of orphaned binaries 0)&lt;/LI&gt;
&lt;LI&gt;Delete the main document  (no of active binaries 483  ,no of orphaned binaries 0)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After 3rd step the active binaries must be zero but thats not the case .
I am using embedded H2 db .I check for the soft delete but its not enabled.&lt;/P&gt;
&lt;P&gt;I don't understand why there is still some reference to the binaries ??&lt;/P&gt;
&lt;P&gt;After long analysis i came to know that there is open bug in the nuxeo :&lt;/P&gt;
&lt;P&gt;&lt;A href="http://answers.nuxeo.com/questions/9948/automation-why-do-i-got-zombies-doc-with-pathnull-in-database" target="test_blank"&gt;http://answers.nuxeo.com/questions/9948/automation-why-do-i-got-zombies-doc-with-pathnull-in-database&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXP-13398" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXP-13398&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am currently using 5.8.0-HF09.&lt;/P&gt;
&lt;P&gt;Do anyone know if  this from is fixed in next hot releases  .&lt;/P&gt;
&lt;P&gt;thanks
atul&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 06:20:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/after-deleting-a-document-the-associated-binaries-are-getting/m-p/323522#M10523</guid>
      <dc:creator>atul_</dc:creator>
      <dc:date>2014-09-23T06:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: After deleting a document the associated binaries are getting abandoned.</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/after-deleting-a-document-the-associated-binaries-are-getting/m-p/323523#M10524</link>
      <description>&lt;P&gt;When you delete a document, it does into a "Trash", it's not permanently deleted.&lt;BR /&gt; /&amp;gt;
In the parent folder, check the Manage -&amp;gt; Trash tab, you can do a permanent deletion from there, your binaries should then get orphaned (as long as they are not referenced somewhere else).&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 18:23:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/after-deleting-a-document-the-associated-binaries-are-getting/m-p/323523#M10524</guid>
      <dc:creator />
      <dc:date>2014-10-06T18:23:52Z</dc:date>
    </item>
  </channel>
</rss>

