« Previous | Next » 

Revision c960cbb9

Parent c7dace40
Child 0e334778

Added by Bastian Waidelich over 6 years ago

[BUGFIX] Prevent creation of too many directories for resources

Currently resource files are stored by splitting the ``SHA1`` hash
into chunks of 5 characters in order to prevent the creation of too
many files per directory (for performance reasons).
This has been implemented with the new "Multi-Storage / Multi-Target
Resource Management" (see Ia2b47b4070a2dfabf4833bf1f0f3967ba3b032a7).

The drawback of the current implementation is that it leads to the
creation of a directory per file which strains the file system, too.

With this change a persistent resource will no longer be stored in::




leading to a tremendously reduced amount of folders to be created.

This also adjusts the path of published resources from::




Note: This is only true, if the ``subdivideHashPathSegment`` is set
for the corresponding ``PublishingTarget``. Otherwise the path is not

Related: FLOW-294
Releases: master, 3.0
Change-Id: I3cbab75d5c6d8819dfcbb26c93c921d6dc27213c

  • added
  • modified
  • copied
  • renamed
  • deleted