diff options
author | Jan Lehnardt <jan@apache.org> | 2009-03-03 11:33:14 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2009-03-03 11:33:14 +0000 |
commit | 745ec3bec56e8c66bf0e4c862b02f925052a339c (patch) | |
tree | 0b11bcb067ed6443465bdb20ccb9d9b9768edfa6 /src/couchdb/couch_db.erl | |
parent | f5ebfabcf1807f5164a2094524e7769d2390dc0b (diff) |
stats metrics renamed: os_open_files -> open_os_files, database_changes -> database_writes
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749583 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.erl')
-rw-r--r-- | src/couchdb/couch_db.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_db.erl b/src/couchdb/couch_db.erl index 963c834b..92026ff1 100644 --- a/src/couchdb/couch_db.erl +++ b/src/couchdb/couch_db.erl @@ -286,7 +286,7 @@ update_docs(#db{update_pid=UpdatePid}=Db, Docs, Options) -> update_docs(#db{update_pid=UpdatePid}=Db, Docs, Options, true). update_docs(Db, Docs, Options, false) -> - couch_stats_collector:increment({couchdb, database_changes}), + couch_stats_collector:increment({couchdb, database_writes}), DocBuckets = group_alike_docs(Docs), Ids = [Id || [#doc{id=Id}|_] <- DocBuckets], @@ -323,7 +323,7 @@ update_docs(Db, Docs, Options, false) -> write_and_commit(Db, DocBuckets2, Options); update_docs(Db, Docs, Options, true) -> - couch_stats_collector:increment({couchdb, database_changes}), + couch_stats_collector:increment({couchdb, database_writes}), % go ahead and generate the new revision ids for the documents. Docs2 = lists:map( |