summaryrefslogtreecommitdiff
path: root/apps/couch
diff options
context:
space:
mode:
authorRobert Newson <robert.newson@cloudant.com>2012-09-05 00:00:20 +0100
committerRobert Newson <robert.newson@cloudant.com>2012-11-15 11:23:55 +0000
commitcde32e6e3728e7896bf311f77fcb5e6d266e8465 (patch)
treee10f4406ec83e18247079867e40777c64a0b6372 /apps/couch
parent19017b3612b4567ced3b8ac9cfe816e6cf80e0f8 (diff)
Fix design_document inconsistency
Always report it as "design_document":"_design/foo" BugzID: 14562 Conflicts: apps/couch/src/couch_view_compactor.erl
Diffstat (limited to 'apps/couch')
-rw-r--r--apps/couch/src/couch_view_compactor.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/couch/src/couch_view_compactor.erl b/apps/couch/src/couch_view_compactor.erl
index 1d789d35..ccb3fe3a 100644
--- a/apps/couch/src/couch_view_compactor.erl
+++ b/apps/couch/src/couch_view_compactor.erl
@@ -47,12 +47,10 @@ compact_group(Group, EmptyGroup, DbName) ->
{ok, Count} = couch_db:get_doc_count(Db),
- <<"_design", ShortName/binary>> = GroupId,
- TaskName = <<DbName/binary, ShortName/binary>>,
couch_task_status:add_task([
{type, view_compaction},
{database, DbName},
- {design_document, ShortName},
+ {design_document, GroupId},
{progress, 0}
]),