This is an automated email from the ASF dual-hosted git repository.
cwylie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new eaa5dc3224f fix segment mount restore load path (#18835)
eaa5dc3224f is described below
commit eaa5dc3224f5f793d40816459da7c5bd36ac55b9
Author: Clint Wylie <[email protected]>
AuthorDate: Fri Dec 12 00:22:09 2025 -0800
fix segment mount restore load path (#18835)
---
.../org/apache/druid/segment/loading/SegmentLocalCacheManager.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/server/src/main/java/org/apache/druid/segment/loading/SegmentLocalCacheManager.java
b/server/src/main/java/org/apache/druid/segment/loading/SegmentLocalCacheManager.java
index 65c06c69c01..ec499dc0205 100644
---
a/server/src/main/java/org/apache/druid/segment/loading/SegmentLocalCacheManager.java
+++
b/server/src/main/java/org/apache/druid/segment/loading/SegmentLocalCacheManager.java
@@ -987,7 +987,7 @@ public class SegmentLocalCacheManager implements
SegmentCacheManager
location.getPath(),
mountLocation.getPath()
);
- } else {
+ } else if (referenceProvider != null) {
log.debug("already mounted [%s] in location[%s]", id,
mountLocation.getPath());
return;
}
@@ -1003,7 +1003,7 @@ public class SegmentLocalCacheManager implements
SegmentCacheManager
);
atomicMoveAndDeleteCacheEntryDirectory(storageDir);
} else {
- needsLoad = referenceProvider != null;
+ needsLoad = false;
}
}
if (needsLoad) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]