Troubleshooting the HCL Cache
Tools and techniques that can be used for troubleshooting the cache.
Monitoring
Debugging a complex distributed system without the support of metrics and monitoring can be a challenging task. The Prometheus and Grafana integration gives you visibility into the number and performance of all cache operations and maintenance processes, which can enable you to quickly narrow down the problem.
Cache manager
The Cache Manager includes a number of debug APIs to retrieve details about the caches and cached data. See Cache Manager for details.
Redisson Upgrade
The Redisson client has been upgraded from version 3 to version 4. This introduces changes to the Redisson configuration settings. See HCL Commerce - Redis client configurations for more information about these changes.
Unable to initalize Redis client default due to Cannot create property=singleServerConfig for JavaBean=org.redisson.config.Config@dd47d8ed
in 'string', line 1, column 1:
singleServerConfig:
^
Cannot create property=retryInterval for JavaBean=org.redisson.config.SingleServerConfig@fe43b18
in 'string', line 2, column 3:
address: "redis://hcl-commerce-r ...
^
in 'string', line 8, column 18:
retryInterval: 500
^Redis database
Redis is a database, and provides a command interface (redis-cli) and commands that can be used to query it and retrieve information about the existing cache keys and metatada. For details see HCL Cache in Redis.
Tracing
The following string is used to trace the operation of the HCL Cache:
com.hcl.commerce.cache*=all
If enabled at the fine level instead, the HCL Cache will create a less verbose output, with timing and invalidation details.