Skip to content
Snippets Groups Projects
  1. Apr 09, 2025
  2. Mar 19, 2025
  3. Mar 18, 2025
  4. Feb 17, 2025
  5. Jan 31, 2025
  6. Jan 23, 2025
  7. Jan 22, 2025
  8. Dec 09, 2024
  9. Aug 30, 2024
  10. Aug 29, 2024
  11. Jul 02, 2024
  12. Feb 16, 2024
  13. Feb 09, 2024
  14. Feb 05, 2024
  15. Jan 26, 2024
  16. Jan 22, 2024
  17. Jan 19, 2024
  18. Jan 18, 2024
  19. Jan 16, 2024
  20. Jan 15, 2024
    • Jérémy Bobbio (Lunar)'s avatar
      Test removal and restore in Kafka · 848f89cc
      Jérémy Bobbio (Lunar) authored
      Removing an object from Kafka requires writing a new message with
      the same key as previously used and an empty value. These tombstones
      then get later “compacted” depending on the topic settings `cleanup.policy`,
      `max.compaction.lag.ms` and `delete.retention.ms`.
      
      To test the presence or absence of objects in Kafka, we thus need to
      find which is the most recent: a tombstone or a value. In order to do
      so, we parse all messages into a single dict, associating SWHIDs with
      the latest message timestamp and if it should be considered present or
      absent. This is sadly a bit time and memory consuming but at least we
      get accurate results.
      
      While not strictly necessary, we now use a topic configuration in
      Kafka that will aggressively try to remove “dead” messages. It
      should improve slightly the time needed to inventory objects as
      previously described.
      
      We use the match syntax introduced in Python 3.10 in `handle_message()`,
      so we bump black compatibility settings to Python 3.11.
      
      Depends on swh-alter!7 (and a new release thereafter)
      848f89cc
    • David Douard's avatar
      docker/tests: Add a trailing / in most API requests · bb66582a
      David Douard authored
      I prevents from a 301 back and forth on each http query.
      bb66582a
    • David Douard's avatar
      docker: do not use sourcehut first when ingesting mercurial origins · 0931efd3
      David Douard authored
      It seems still broken albeit replying to HEAD queries...
      0931efd3
    • David Douard's avatar
      docker: increase the health check retries · f89b94a5
      David Douard authored
      Starting a service can be pretty slow, waiting for dependencies etc.
      Double these to 6 (default being 3) in all service with a healthcheck
      defined with default retries.
      f89b94a5
    • David Douard's avatar
      docker: limit indexer journal client to only origin_intrinsic_metadata · ae70899a
      David Douard authored
      Otherwise the mimetype and fossology indexers are executed, making
      tests very long to execute.
      ae70899a
    • David Douard's avatar
      docker: remove the indexer celery worker · 015fb7ff
      David Douard authored
      It's not used any more and is about to be removed from swh-indexer.
      015fb7ff
  21. Jan 11, 2024
  22. Jan 10, 2024
Loading