openfoodfacts / openfoodfacts-query

This extracts key product data from MongoDB into a Postgres database to speed up OFF
GNU Affero General Public License v3.0
0 stars 0 forks source link

Facets return no data during import #17

Closed john-gom closed 8 months ago

john-gom commented 8 months ago

What

If a facet is queried while the data is being refreshed it can return zero rows

Steps to reproduce the behavior:

Start a full import from MongoDB. While a facect is being refreshed run a query on it

Expected behavior

Previous values should be used until the new data has been committed