clp icon indicating copy to clipboard operation
clp copied to clipboard

sbin/search.sh doesn't always print all search results

Open kirkrodrigues opened this issue 1 year ago • 0 comments

Bug

When searching using the package's sbin/search.sh script, sometimes, not all results are printed (but they exist in the results cache). The scheduler/worker logs don't show any errors.

It's possible that the search tasks / job finishes before the results cache has made the search results available for reading.

CLP version

d524ead

Environment

Ubuntu 22.04

Reproduction steps

  • sbin/start.sh
  • sbin/compress.sh
  • sbin/search.sh "DESERIALIZE_ERRORS" > results.txt

Count the lines of output. It should be 6945. Running the query a few times should result in one instance where not all 6945 results are written to the file.

kirkrodrigues avatar Jan 26 '24 06:01 kirkrodrigues