Skip to content
Snippets Groups Projects
  1. Mar 22, 2024
  2. Mar 05, 2024
  3. Feb 13, 2024
  4. Feb 09, 2024
  5. Feb 06, 2024
  6. Feb 02, 2024
  7. Jan 17, 2024
  8. Dec 11, 2023
  9. Dec 05, 2023
  10. Dec 04, 2023
  11. Dec 03, 2023
  12. Nov 29, 2023
  13. Nov 25, 2023
  14. Nov 24, 2023
  15. Nov 16, 2023
  16. Nov 07, 2023
  17. Oct 04, 2023
  18. Sep 26, 2023
  19. Sep 25, 2023
  20. Sep 22, 2023
  21. Sep 20, 2023
  22. Sep 19, 2023
  23. Sep 12, 2023
  24. Sep 11, 2023
  25. Sep 06, 2023
    • David Douard's avatar
      replayer: add a --known-missmatched-hashes argument to the replay command · 7d16b630
      David Douard authored
      This accepts a file of swhids of objects that are known to be invalid
      (hash mismatch) but should be replayed anyway (typically because they do
      exist as is in the original storage).
      
      The file is expected to have rows like:
      
        swh:1:xxx:<invalid_hex_hash>,<expected_hex_hash>
        [...]
      
      Note that the cli only accepts swhids in the exception file, while the
      backend (ModelObjectDeserializer) support all HashableObject. But we
      currently do not need this feature on the cli tool for other object
      types, and doing it this way is simpler in terms of type annotation.
      7d16b630
    • David Douard's avatar
      postgresql: Reduce risks of spurious concurrency insertion issues in directory_add · 250177da
      David Douard authored
      The idea is that 2 workers may insert similar directories concurrently,
      thus attempt to create identical DirectoryEntry objects in concurrent
      transactions, making one of the 2 transaction fail at commit time with
      a UniqueViolation error.
      
      But since rows in a `directory_entry_xxx` table consist only on the
      triplet `(target, name, perms)` and we run the db in read committed
      isolation level, when the next query (filling the `tmp_directory`
      table) in `swh_directory_entry_add()` sql function is executed, the
      insertion of conflicting rows from other transactions has been
      committed and is now visible in this transaction, so these conflicts
      can be simply ignored.
      
      Upgrade db version to 190.
  26. Sep 05, 2023
  27. Sep 04, 2023
  28. Sep 01, 2023
  29. Aug 31, 2023
Loading