Configurable DFS cluster backend
The DFS cluster uses two handlers: DB, and FS. So far, the FS handler was hardcoded and couldn't be changed. Starting from 5.4, it can be set in an INI file.
Configuration
A new INI setting, eZDFSClusteringSettings.DFSBackend, is introduced. It expects the name of a class that implements
eZDFSFileHandlerDFSBackendInterface:
[eZDFSClusteringSettings]
DFSBackend=MyDFSBackendBackend class initialization
By default, the configured backend will be created with the new keyword, without any argument.
If complex initialization steps are required, backends can implement eZDFSFileHandlerDFSBackendFactoryInterface. This
interface has a build() static method. Within the implementation, dependencies can be resolved, and configuration
loaded.
Limitations
Due to the order of settings parsing, cluster related settings must be placed in the global file.ini override, and not
in an extension or a siteaccess.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.