only run allDocs if not snapshot