Page MenuHomeSoftware Heritage

Deploy swh-search v0.4.1 in staging
Open, NormalPublic

Description

Deploy the new 0.4.1 version with the fix for the has_visit status.

According D4818, the basic migration can be done like this :

Migration:

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

This is correct, but doing like this, the search will not be completely accurate until the backfill of the origin_visit_status topic is done.
It's not important currently as the swh-search is not really used in production, but it's the opportunity to test a way to do such reindexation smoothly.

Event Timeline

vsellier triaged this task as Normal priority.Thu, Jan 7, 6:39 PM
vsellier created this task.
ardumont renamed this task from Deploy T2936 in staging to Deploy swh-search v0.4.1 in staging.Mon, Jan 11, 10:49 AM
ardumont moved this task from Backlog to Weekly backlog on the System administration board.