couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couch-mrview commit: updated refs/heads/master to 33a51cc
Date Thu, 28 Aug 2014 22:55:13 GMT
Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/master 4cc8114a6 -> 33a51ccd6


Use ioq to separately prioritise compaction requests


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/33a51ccd
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/33a51ccd
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/33a51ccd

Branch: refs/heads/master
Commit: 33a51ccd6d202f6f16e89eead7810e57f49adfbf
Parents: 4cc8114
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Aug 28 23:53:33 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Aug 28 23:53:33 2014 +0100

----------------------------------------------------------------------
 src/couch_mrview.app.src       | 2 +-
 src/couch_mrview_compactor.erl | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/33a51ccd/src/couch_mrview.app.src
----------------------------------------------------------------------
diff --git a/src/couch_mrview.app.src b/src/couch_mrview.app.src
index 4da46f9..9c95ed0 100644
--- a/src/couch_mrview.app.src
+++ b/src/couch_mrview.app.src
@@ -24,5 +24,5 @@
         couch_mrview_util
     ]},
     {registered, []},
-    {applications, [kernel, stdlib, couch_index, couch_stats]}
+    {applications, [kernel, stdlib, couch_index, couch_stats, ioq]}
 ]}.

http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/33a51ccd/src/couch_mrview_compactor.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_compactor.erl b/src/couch_mrview_compactor.erl
index 735b790..8775c24 100644
--- a/src/couch_mrview_compactor.erl
+++ b/src/couch_mrview_compactor.erl
@@ -34,6 +34,7 @@ compact(_Db, State, Opts) ->
     end.
 
 compact(State) ->
+    erlang:put(io_class, compaction),
     #mrst{
         db_name=DbName,
         idx_name=IdxName,


Mime
View raw message