You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2015/07/07 17:50:33 UTC
[1/2] incubator-usergrid git commit: fix logger name
Repository: incubator-usergrid
Updated Branches:
refs/heads/two-dot-o-dev 6f2d0bf54 -> e3724d7fa
fix logger name
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/bc03cdbc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/bc03cdbc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/bc03cdbc
Branch: refs/heads/two-dot-o-dev
Commit: bc03cdbcfac74272b2b10f567b870ca62c3ba09b
Parents: 6f2d0bf
Author: Shawn Feldman <sf...@apache.org>
Authored: Mon Jul 6 13:11:21 2015 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Mon Jul 6 13:11:21 2015 -0600
----------------------------------------------------------------------
.../serialization/impl/MvccEntitySerializationStrategyV3Impl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/bc03cdbc/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/MvccEntitySerializationStrategyV3Impl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/MvccEntitySerializationStrategyV3Impl.java b/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/MvccEntitySerializationStrategyV3Impl.java
index a89ba61..8be640d 100644
--- a/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/MvccEntitySerializationStrategyV3Impl.java
+++ b/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/MvccEntitySerializationStrategyV3Impl.java
@@ -81,7 +81,7 @@ public class MvccEntitySerializationStrategyV3Impl implements MvccEntitySerializ
private final EntitySerializer entitySerializer;
- private static final Logger log = LoggerFactory.getLogger( MvccLogEntrySerializationStrategyImpl.class );
+ private static final Logger log = LoggerFactory.getLogger( MvccEntitySerializationStrategyV3Impl.class );
protected final Keyspace keyspace;
[2/2] incubator-usergrid git commit: add logging to shard allocation
Posted by sf...@apache.org.
add logging to shard allocation
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/e3724d7f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/e3724d7f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/e3724d7f
Branch: refs/heads/two-dot-o-dev
Commit: e3724d7fa21eee16c487222f120ce415981fc0ee
Parents: bc03cdb
Author: Shawn Feldman <sf...@apache.org>
Authored: Tue Jul 7 09:50:26 2015 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Tue Jul 7 09:50:26 2015 -0600
----------------------------------------------------------------------
.../serialization/impl/shard/impl/NodeShardAllocationImpl.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/e3724d7f/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java b/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java
index ad64338..7a7fb3f 100644
--- a/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java
+++ b/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java
@@ -173,6 +173,10 @@ public class NodeShardAllocationImpl implements NodeShardAllocation {
return false;
}
+ if(LOG.isDebugEnabled()){
+ LOG.debug("Count of {} has exceeded shard config of {} will begin compacting", count, shardSize);
+ }
+
/**
* We want to allocate a new shard as close to the max value as possible. This way if we're filling up a shard rapidly, we split it near the head of the values.
* Further checks to this group will result in more splits, similar to creating a tree type structure and splitting each node.