commit | 13fed1ed28976aa1ed3fc92d30336ea53d837894 | [log] [tgz] |
---|---|---|
author | Eric Avdey <eiri@eiri.ca> | Thu Jun 25 18:42:14 2015 -0300 |
committer | Eric Avdey <eiri@eiri.ca> | Thu Jun 25 18:42:14 2015 -0300 |
tree | 34691e65fc8b2976683e88b32a8323e64adc9dbc | |
parent | e15bed80e21e573c05945c23908dc0c7194ef8e9 [diff] |
Allow get_index to receive DDoc as a doc record The function `couch_mrview:compact/3` is passing to `get_index` a prepared #doc record, when `get_index` is expecting DDoc to be a ddoc's id. As a result view's compaction is crashing after `fabric:open_doc` call. This patch allows get_index to receive #doc record directly. This closes COUCH-2729