1-9 - Failed to read and write registry service cache
Possible Reason
- Multiple Dubbo processes (or other Java processes) use the same cache file.
- Due to the file system permission problem of the directory where the cache file is located, reading and writing fails.
- The value of
dubbo.registry.file
is entered incorrectly. - Accidentally specify two registries to use the same file store.
Hint: If
dubbo.registry.file
is not specified, the registry service cache path defaults to the~/.dubbo
directory (where~
is the user’s HOME directory)
Troubleshooting and resolution steps
- Check the value of
dubbo.registry.file
for typos. - Check whether other processes use the same cache file.
- If
dubbo.registry.file
is specified, check its permissions in the file system. - Check whether the situation of “two registration centers use the same file storage” occurs, and adjust if it occurs.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified January 3, 2023: Merge error code 3-3 to 3-8, 6-4 to 99-0. (#1796) (a687d30ae)