Couchbase Ruby client library

all_docs.count fails after a flush