1. 23 Jan, 2025 2 commits
    • Jérome Perrin's avatar
      *: replace erp5_site_global_id by a mechanism in test framework · 9d79bec6
      Jérome Perrin authored
      erp5_site_global_id was from the tiolive time, when we were using ERP5
      with mariadb and memcached instances shared by many zope instances, this
      was used as a way to implement namespaces in memcached, to prevent
      conflicts such as two different zope using the same cache keys.
      
      Nowadays, we no longer share memcached, each ERP5 instance has its own
      memcached and this prefixing is no longer needed, but there is still one
      exception, when we run test using runTestSuite with --node_quantity
      higher than 1, we have multiple running test instances sharing the same
      mariadb and the same memcached. In that case, each test instance
      uses a different mariadb database, but the risk of conflict remain for
      memcached.
      
      To solve this, we introduce a prefix for keys, choosen randomly at test
      startup.
      
      This was more or less what the current implementation was trying to do,
      but we were setting erp5_site_global_id on the wrong object, so it was
      not working since 4889d523 (Define property's default value at class
      level., 2012-12-31). Also, this was only done at the level of SharedDict,
      but some APIs such as CacheTool or SessionTool use MemcachedDict
      directly. There was other problems that using the sql connection string
      encoded in base64 was a too long prefix, because memcached are limited
      in size. Also it was not preventing collisions when running tests on
      the same test node, each runUnitTest execution was still having
      pollution from the previous runUnitTest.
      9d79bec6
    • Kazuhiko Shiozaki's avatar
      fixup! fixup! fixup! erp5_full_text_mroonga_catalog: defer fulltext index and... · cd3d1baa
      Kazuhiko Shiozaki authored
      fixup! fixup! fixup! erp5_full_text_mroonga_catalog: defer fulltext index and unindex using dedicated catalog keys.
      cd3d1baa
  2. 22 Jan, 2025 3 commits
  3. 21 Jan, 2025 1 commit
  4. 20 Jan, 2025 6 commits
  5. 17 Jan, 2025 2 commits
  6. 16 Jan, 2025 1 commit
  7. 15 Jan, 2025 5 commits
  8. 14 Jan, 2025 2 commits
  9. 10 Jan, 2025 1 commit
  10. 09 Jan, 2025 5 commits
  11. 07 Jan, 2025 12 commits