You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2015/01/19 14:58:11 UTC

svn commit: r936775 - in /websites/staging/sling/trunk/content: ./ documentation/the-sling-engine/mappings-for-resource-resolution.html

Author: buildbot
Date: Mon Jan 19 13:58:11 2015
New Revision: 936775

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jan 19 13:58:11 2015
@@ -1 +1 @@
-1652962
+1653002

Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.html (original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.html Mon Jan 19 13:58:11 2015
@@ -308,8 +308,20 @@
 <span class="o">}</span>
 </pre></div>
 </td></tr></table>
+
+<h2 id="rebuild-the-vanity-bloom-filter">Rebuild The Vanity Bloom Filter</h2>
+<p><a href="https://issues.apache.org/jira/browse/SLING-4216">SLING-4216</a> introduced the usage of a bloom filter in order to resolve long startup time with many vanityPath entries.
+The bloom filter is handled automatically by the Sling framework. In some cases though, as changing the maximum number of vanity bloom filter bytes, a rebuild of the vanity bloom filter is needed.</p>
+<p>In order to rebuild vanity bloom filter:</p>
+<ul>
+<li>stop Apache Sling</li>
+<li>locate the org.apache.sling.resourceresolver bundle in the file system (e.g. $SLING_HOME/felix/bundleXX)</li>
+<li>locate the vanityBloomFilter.txt file in the file system (e.g. $SLING_HOME/felix/bundleXX/data/vanityBloomFilter.txt)</li>
+<li>delete the vanityBloomFilter.txt file</li>
+<li>start Apache Sling (this might take few minutes, depending on how many vanity path entries are present)</li>
+</ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1563082 by fmeschbe on Fri, 31 Jan 2014 08:21:26 +0000
+        Rev. 1653002 by asanso on Mon, 19 Jan 2015 13:57:59 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project