Skip to content
Snippets Groups Projects
  1. Mar 18, 2025
  2. Mar 17, 2025
  3. Mar 13, 2025
  4. Feb 25, 2025
  5. Feb 20, 2025
  6. Feb 19, 2025
  7. Feb 18, 2025
  8. Feb 17, 2025
  9. Feb 13, 2025
  10. Feb 05, 2025
    • Antoine Lambert's avatar
      cassandra: Improve snapshot_count_branches performance · 87ae723c
      Antoine Lambert authored
      It has been observed calling that method can lead to cassandra
      query timeout when a snapshot contains a large amount of branches.
      
      The performance bottleneck seems to be the use of a custom cassandra
      aggregate function computing the number of branches per target type.
      
      Removing the use of that function and performing the aggregation
      client side significantly improves query performance and makes
      the timeout issue goes away.
      
      Fixes #4719.
  11. Jan 14, 2025
  12. Dec 23, 2024
    • vlorentz's avatar
      Change type of minimal_revision from hg to git · 51d8725c
      vlorentz authored
      test_extid_add_hg expects all hg revisions to have a 'node' extra header,
      which minimal_revision does not have.
      51d8725c
    • vlorentz's avatar
      Fix rebase · 75d167a2
      vlorentz authored
      75d167a2
    • vlorentz's avatar
      Flatten dates too + add tests for nulls · 49e06138
      vlorentz authored and vlorentz's avatar vlorentz committed
      49e06138
    • vlorentz's avatar
      Fix docstring · f5aaa1f5
      vlorentz authored and vlorentz's avatar vlorentz committed
      f5aaa1f5
    • vlorentz's avatar
      cassandra: Split author/committer into individual columns · f61d649c
      vlorentz authored and vlorentz's avatar vlorentz committed
      Cassandra does not support filtering on individual fields of UDTs, as it considers
      structures as a single whole value.
      
      However, the infra team needs to filter on author.email and committer.email, hence the need
      for separate columns.
      
      This commit reads and writes the new split columns, but keeps reading the UDT as
      a fallback. This will be removed after we are done migrating all rows.
      
      Migration plan:
      
      1.
         ```
         ALTER TABLE revision
         ADD (
             author_fullname                 blob,
             author_name                     blob,
             author_email                    blob,
             committer_fullname              blob,
             committer_name                  blob,
             committer_email                 blob
         );
         ALTER TABLE release
         ADD (
             author_fullname                 blob,
             author_name                     blob,
             author_email                    blob
         );
         ```
      
      2. update Python code and restart
      
      3. run a replayer on `revision` and `release` objects without a filtering proxy,
         in order to write the new columns
      f61d649c
  13. Dec 16, 2024
  14. Dec 11, 2024
  15. Nov 27, 2024
  16. Nov 26, 2024
  17. Nov 08, 2024
  18. Nov 05, 2024
    • vlorentz's avatar
      tests: Fix incorrect swh_storage fixture setups · 9d9d44c7
      vlorentz authored
      The storage returned by swh_storage() must be either the same as swh_storage_backend(), or
      be a chain of proxies to it. This allows tests to act on the backend using methods
      not available on proxies or the RPC
      9d9d44c7
  19. Oct 31, 2024
  20. Oct 30, 2024
Loading