diff options
| author | LHHDZ <changlin.shi@ly.com> | 2022-07-22 17:22:38 +0800 |
|---|---|---|
| committer | LHHDZ <changlin.shi@ly.com> | 2022-07-22 17:22:38 +0800 |
| commit | 58c02d6429530d674d4e0e493e9e1a860208017e (patch) | |
| tree | 14bce48d059b56ba0dc8631f82c798c8d768e681 /other/java/hdfs3 | |
| parent | 56ec89625a5d4a66e3b1c810544afd93f449842e (diff) | |
| download | seaweedfs-58c02d6429530d674d4e0e493e9e1a860208017e.tar.xz seaweedfs-58c02d6429530d674d4e0e493e9e1a860208017e.zip | |
Solve the problem that `LookupFileId` lookup urls is empty due to leader switching
The vidMap structure is modified to a linked list structure (the length is limited to 5). When the vidMap is reset, the current vidMap is added to the new vidMap as a cache node. When the query locations is empty, the cache node is searched to avoid problems when the master switches leaders.
Diffstat (limited to 'other/java/hdfs3')
0 files changed, 0 insertions, 0 deletions
