Open defnull opened 3 years ago
Hmm strange. The events-stats-file-download-*
index contains a stats-file-download
type with a complex country
field mapping (containing geoname_id
, iso_code
and names
sub-fields). I cannot find where this mapping is created or defined.
This conflicts with an index template called file-download-v1
which is installed by invenio-stats into the ES cluster. That template defines country
as a simple string. Two types with conflict mappings cannot live in the same index, thus the error form ES.
For a freshly installed instance (following the docker-compose based deployment documentation) elasticsearch logs the following error messages multiple times a second:
I'm not sure where this comes from (b2share or invenio) but I guess this is triggered by the
invenio_stats.tasks.process_events
celery task. Any ideas?