aboutsummaryrefslogtreecommitdiff
path: root/other/java/examples/src
diff options
context:
space:
mode:
authorLHHDZ <changlin.shi@ly.com>2022-07-22 17:22:38 +0800
committerLHHDZ <changlin.shi@ly.com>2022-07-22 17:22:38 +0800
commit58c02d6429530d674d4e0e493e9e1a860208017e (patch)
tree14bce48d059b56ba0dc8631f82c798c8d768e681 /other/java/examples/src
parent56ec89625a5d4a66e3b1c810544afd93f449842e (diff)
downloadseaweedfs-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/examples/src')
0 files changed, 0 insertions, 0 deletions