ember-nexus / api

Knowledge Graph API
https://ember-nexus.github.io/api
GNU Affero General Public License v3.0
12 stars 3 forks source link

ETag cache is not reset during backup load command #339

Open Syndesi opened 2 weeks ago

Syndesi commented 2 weeks ago

The backup load command expects an empty database, i.e. no nodes or relations, and then imports some data. While this does guarantee that no element data is present, cached ETags from previous usage can remain.

Tasks:

Syndesi commented 2 weeks ago

Additional information: The endpoint GET / with no auth data, i.e. via anonymous access, is especially sensible to this bug, as the frequent healthcheck can result in generating an "empty ETag", which is then persisted within Redis, and not updated on further element updates.

The following tasks should be performed as well: