Skip to content

Commit

Permalink
Fix duplicate mapped file in mutil commitlog store path mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
hexueyuan committed Nov 15, 2024
1 parent f2759f8 commit c22f48b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public AllocateMappedFileService(DefaultMessageStore messageStore) {
}

public String getCachedMappedFilePath(long createOffset) {

AllocateRequest req = requestTable.get(UtilAll.offset2FileName(createOffset));
return req == null ? null : req.getFilePath();
}
Expand Down

0 comments on commit c22f48b

Please sign in to comment.