[BP] MB-13359: Get DCP next snapshot if there are meta items, but no mutations
[BP] MB-13359: Get DCP next snapshot if there are meta items, but no mutations

If we only get a snapshot end message when we call getItemsForCursor
then we will consider the snapshot to be empty and pause the stream.
Since a snapshot end message can only be in a closed checkpoint this
means that it's possible that we are pausing the stream for no
reason.

Change-Id: I29b8603287b41401fd6f5c1e4d4f185611d5b583
Reviewed-on: http://review.couchbase.org/47087
Reviewed-by: abhinav dangeti <d73ef2279de6577f7bf081737ee47554bbb7dc82@couchbase.com>
Tested-by: Michael Wiederhold <a17fed27eaa842282862ff7c1b9c8395a26ac320@couchbase.com>
Reviewed-on: http://review.couchbase.org/47962
Tested-by: abhinav dangeti <d73ef2279de6577f7bf081737ee47554bbb7dc82@couchbase.com>
Reviewed-by: Michael Wiederhold <a17fed27eaa842282862ff7c1b9c8395a26ac320@couchbase.com>

membase/ep-engine,couchbase/ep-engine,sriganes/ep-engine,membase/ep-engine,daverigby/ep-engine,daverigby/kv_engine,membase/ep-engine,teligent-ru/ep-engine,owendCB/ep-engine,owendCB/ep-engine,hisundar/ep-engine,teligent-ru/ep-engine,hisundar/ep-engine,sriganes/ep-engine,owendCB/ep-engine,daverigby/kv_engine,hisundar/ep-engine,owendCB/ep-engine,daverigby/kv_engine,sriganes/ep-engine,couchbase/ep-engine,couchbase/ep-engine,daverigby/ep-engine,teligent-ru/ep-engine,membase/ep-engine,hisundar/ep-engine,teligent-ru/ep-engine,daverigby/ep-engine,couchbase/ep-engine,daverigby/kv_engine,sriganes/ep-engine,daverigby/ep-engine