Remove references to margaret

Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/commit/eef6b84e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/tree/eef6b84e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/diff/eef6b84e

Branch: refs/heads/import
Commit: eef6b84eaa3c6187e664d7121dfdf09285bee6a2
Parents: 50eb5c0
Author: Robert Newson <rnew...@apache.org>
Authored: Thu Dec 19 18:16:58 2013 +0000
Committer: Paul J. Davis <paul.joseph.da...@gmail.com>
Committed: Fri Jan 17 13:53:22 2014 -0800

----------------------------------------------------------------------
 src/mem3_shards.erl | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mem3/blob/eef6b84e/src/mem3_shards.erl
----------------------------------------------------------------------
diff --git a/src/mem3_shards.erl b/src/mem3_shards.erl
index 2aaa35a..3437495 100644
--- a/src/mem3_shards.erl
+++ b/src/mem3_shards.erl
@@ -131,14 +131,11 @@ handle_call(_Call, _From, St) ->
     {noreply, St}.
 
 handle_cast({cache_hit, DbName}, St) ->
-    margaret_counter:increment([dbcore, mem3, shard_cache, hit]),
     cache_hit(DbName),
     {noreply, St};
 handle_cast({cache_insert, DbName, Shards}, St) ->
-    margaret_counter:increment([dbcore, mem3, shard_cache, miss]),
     {noreply, cache_free(cache_insert(St, DbName, Shards))};
 handle_cast({cache_remove, DbName}, St) ->
-    margaret_counter:increment([dbcore, mem3, shard_cache, eviction]),
     {noreply, cache_remove(St, DbName)};
 handle_cast(_Msg, St) ->
     {noreply, St}.

Reply via email to