Permalink
Browse files

Fix design_document inconsistency

Always report it as "design_document":"_design/foo"

BugzID: 14562

Conflicts:
	apps/couch/src/couch_view_compactor.erl
  • Loading branch information...
1 parent 19017b3 commit cde32e6e3728e7896bf311f77fcb5e6d266e8465 Robert Newson committed Sep 4, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 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}
]),

0 comments on commit cde32e6

Please sign in to comment.