Skip to content
Snippets Groups Projects
  1. Jun 13, 2023
  2. Jun 12, 2023
  3. Jun 11, 2023
  4. Jun 10, 2023
    • Helmut Hummel's avatar
      [TASK] Use dedicated cache for schema information · f0936fe1
      Helmut Hummel authored
      Using the core cache for schema information comes with
      various drawbacks:
      
      1. There is no way to flush single core cache entries,
         thus the complete core cache needs to be flushed when
         changing the database schema.
      2. The PHP Frontend provides no benefit, when the to be cached
         information has to be serialized anyway.
      
      Therefore, a new cache is introduced that can be flushed
      individually after schema updates.
      
      Flushing the cache is now also moved altogether to SchemaMigrator,
      in order to avoid flushing the cache multiple times for multiple
      connections. For flushing the individual cache, the internal
      Bootstrap::createCache factory is used, which ensures a cache
      backend, which is not set to null backend, which happens
      with late boot methodology in install tool and replaces the
      previously used ClearCacheService, which is only meant to be
      used to flush all caches and boots the system for that.
      
      With doing so, the previously introduced argument to not
      boot the system can be removed again.
      
      As drive by change the SysLogChannel update is renovated
      a bit to not use deprecated Doctrine DBAL API.
      
      Releases: main, 12.4
      Resolves: #100925
      Change-Id: I0193501fec5d41edfcb65f07faefe30985629818
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79148
      
      
      Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
      Reviewed-by: default avatarBenni Mack <benni@typo3.org>
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Tested-by: default avatarBenni Mack <benni@typo3.org>
      Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
      f0936fe1
  5. Jun 09, 2023
  6. Jun 08, 2023