Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Fix design_document inconsistency
Browse files Browse the repository at this point in the history
Always report it as "design_document":"_design/foo"

BugzID: 14562

Conflicts:
	apps/couch/src/couch_view_compactor.erl
  • Loading branch information
Robert Newson committed Nov 15, 2012
1 parent 19017b3 commit cde32e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/couch/src/couch_view_compactor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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}
]),

Expand Down

0 comments on commit cde32e6

Please sign in to comment.