Skip to content

codeintel: Do not query filters when bloom filters are disabled

Administrator requested to merge ef/32328-2 into main

Created by: efritz

Continuing from #32908.

This PR stops loading filter payloads from the lsif_references table when the new envvar DEBUG_PRECISE_CODE_INTEL_BLOOM_FILTER_BAIL_OUT is set. We don't need this data, as the presence of the same envvar stops the filter from being tested later on.

We should see smaller query times (currently seen at around 300ms) for these particular queries in subsequent traces if successful.

Test plan

Current CI tests. Should not affect any environment apart from Cloud, which we will enable only under surveillance.

Merge request reports

Loading