Skip to content

Do not set 'has_visit' when receiving a visit from the journal

'has_visit' means a full visit; which we can not tell from a visit object anymore; only visit statuses hold this data.

Resolves T2936

Migration:

  1. curl -XPOST "https://localhost:9200/origin/_update_by_query" -d'{"script": {"inline": "ctx._source.has_visits = false", "lang": "painless"}}'
  2. reset the offset of the swh-search client on the swh.journal.objects.origin_visit_status topic

Migrated from D4818 (view on Phabricator)

Merge request reports