Couchbase 4.0 community huge delay returning result with "full ejection" set

It looks like you’re hitting MB-17231 which will be fixed in an impending release of Couchbase Server.

The workaround for now (until there is a release which fixes this issue) is to use ‘value eviction’.