MB-23618: Revert 25ce75aa1 bgFetch changes 40/76540/2
authorJim Walker <jim@couchbase.com>
Mon, 10 Apr 2017 08:52:17 +0000 (09:52 +0100)
committerDave Rigby <daver@couchbase.com>
Mon, 10 Apr 2017 16:09:31 +0000 (16:09 +0000)
commitad18a4cde406713b7e9c5a8746be5e0ce5f4b265
treedf57c22ad10dc2039a12307111c2d966db747565
parent359ac00db071befdb9e41c24b825d553df8e6406
MB-23618: Revert 25ce75aa1 bgFetch changes

Revert the bgFetch changes from 25ce75aa1 as they're not required
anymore. The original commit added conditional "isMeta" parameter
changes to withMeta functions because the datatype of the document
use to be part of the body. Now that this is part of the meta data
the changes are no longer required.

This has the side-effect of fixing MB-23618, so there was also
something wrong with the bgFetch changes.

Change-Id: If3743b766b5da1b51c00e3b5ee84707f2ba4262e
Reviewed-on: http://review.couchbase.org/76540
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
src/vbucket.cc