I got SegmentNotFound Exception:
14.09.2022 09:06:31.614 *ERROR* [JobHandler: /var/workflow/instances/server0/2022-08-27_1/bncrxdpgenerator_256:/var/fd/dashboard/payload/server0/2022-08-27_1/CXRUWS2OZYUOGSCXNXRMQOWALY_255] org.apache.jackrabbit.oak.segment.SegmentNotFoundExceptionListener Segment not found: 6684335e-fbd4-4de2-a0f9-33dd3b632cbe. SegmentId age=1556502184ms,segment-generation=GCGeneration{generation=39,fullGeneration=20,isCompacted=true}
org.apache.jackrabbit.oak.segment.SegmentNotFoundException: Segment 6684335e-fbd4-4de2-a0f9-33dd3b632cbe not found
at org.apache.jackrabbit.oak.segment.file.AbstractFileStore.readSegmentUncached(AbstractFileStore.java:288) [org.apache.jackrabbit.oak-segment-tar:1.22.6]
at org.apache.jackrabbit.oak.segment.file.FileStore.lambda$readSegment$10(FileStore.java:505) [org.apache.jackrabbit.oak-segment-tar:1.22.6]
at org.apache.jackrabbit.oak.segment.SegmentCache$NonEmptyCache.lambda$getSegment$0(SegmentCache.java:163) [org.apache.jackrabbit.oak-segment-tar:1.22.6]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4724)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)
It's very weird my workflow just generate some payload and nothing running or will be accessed over a few minutes. Not sure why I got the SegmentNotFound Error and sames the GC recycled it.
My question is from segment id: 6684335e-fbd4-4de2-a0f9-33dd3b632cbe, how I can know this segment belongs to which resource/node in AEM? Why it is need to be GCed?
Views
Replies
Total Likes
It would be best if you debug your custom workflow instead of looking for ways to extract resources/nodes from segment id.