jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Mehrotra <chetan.mehro...@gmail.com>
Subject Re: svn commit: r1497784 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/MongoMK.java
Date Mon, 01 Jul 2013 05:10:34 GMT
Thanks for catching the copy paste error Alex!!. Would be more careful
while doing such copy paste changes in future.

Chetan Mehrotra


On Fri, Jun 28, 2013 at 7:36 PM,  <alexparvulescu@apache.org> wrote:
> Author: alexparvulescu
> Date: Fri Jun 28 14:06:45 2013
> New Revision: 1497784
>
> URL: http://svn.apache.org/r1497784
> Log:
> OAK-863 - Enable stats for various caches used in Oak by default
> - fixed max weight param in NodeChildren and DiffCache stat output
>
> Modified:
>     jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/MongoMK.java
>
> Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/MongoMK.java
> URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/MongoMK.java?rev=1497784&r1=1497783&r2=1497784&view=diff
> ==============================================================================
> --- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/MongoMK.java
(original)
> +++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/MongoMK.java
Fri Jun 28 14:06:45 2013
> @@ -236,7 +236,7 @@ public class MongoMK implements MicroKer
>                          .maximumWeight(builder.getChildrenCacheSize())
>                          .build();
>          nodeChildrenCacheStats = new CacheStats(nodeChildrenCache, "MongoMk-NodeChildren",
> -                builder.getWeigher(), builder.getNodeCacheSize());
> +                builder.getWeigher(), builder.getChildrenCacheSize());
>
>          diffCache = CacheBuilder.newBuilder()
>                  .recordStats()
> @@ -244,7 +244,7 @@ public class MongoMK implements MicroKer
>                  .maximumWeight(builder.getDiffCacheSize())
>                  .build();
>          diffCacheStats = new CacheStats(diffCache, "MongoMk-DiffCache",
> -                builder.getWeigher(), builder.getNodeCacheSize());
> +                builder.getWeigher(), builder.getDiffCacheSize());
>
>          init();
>          // initial reading of the revisions of other cluster nodes
>
>

Mime
View raw message