0-5 - Cache file size exceeded
Other modules reuse the file-based caching mechanism of the Common layer (currently the metadata module), and the file caching mechanism of the Common layer “discovers” that the file size exceeds the limit.
Possible Reason
- The user has unreasonably configured the Java System Property (the Java system property configured with -D)
dubbo.mapping.cache.maxFileSize
ordubbo.meta.cache.maxFileSize
- The cache file is corrupted due to file system or disk errors.
dubbo.mapping.cache.maxFileSize
anddubbo.meta.cache.maxFileSize
do not show default values, The default value of the maximum file size found according to the logic oforg.apache.dubbo.common.cache.FileCacheStore.LimitedLengthBufferedWriter
is:Long.MAX_VALUE
( 263-1 ).
Troubleshooting and resolution steps
- Try reconfiguring the above Java System Property (Java System Property configured with -D).
- Delete the cache folder and restart Provider and Consumer (the location of the cache folder is usually
~/.dubbo
. Ifdubbo.meta.cache.filePath
anddubbo.mapping
are configured .cache.filePath` is that path). - If these System Property are not configured, please go to GitHub Issue Tracker to issue an Issue.
Last modified January 3, 2023: Merge error code 3-3 to 3-8, 6-4 to 99-0. (#1796) (a687d30ae03)