Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When the RaftStore#readDatum method loads the cache file, the file currently has the suffix .datum, which causes the original SwitchKey judgment to be invalid. #3160

Closed
Maijh97 opened this issue Jun 23, 2020 · 0 comments · Fixed by #3163
Assignees
Labels
kind/bug Category issues or prs related to bug.
Milestone

Comments

@Maijh97
Copy link
Collaborator

Maijh97 commented Jun 23, 2020

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

The pr #2849 changed the name of the cache file in the nacos/data/naming/data directory, which will cause the KeyBuilder#matchSwitchKey to be invalidated in the RaftStore#readDatum method, and there will also be compatibility issues. The files cached in the previous version will not be Read

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants