diff --git a/tool-gjallarhorn/src/main/kotlin/cloud/kubelet/foundation/gjallarhorn/state/BlockMapRenderPool.kt b/tool-gjallarhorn/src/main/kotlin/cloud/kubelet/foundation/gjallarhorn/state/BlockMapRenderPool.kt index 83bcf8f..d26c9fa 100644 --- a/tool-gjallarhorn/src/main/kotlin/cloud/kubelet/foundation/gjallarhorn/state/BlockMapRenderPool.kt +++ b/tool-gjallarhorn/src/main/kotlin/cloud/kubelet/foundation/gjallarhorn/state/BlockMapRenderPool.kt @@ -59,6 +59,9 @@ class BlockMapRenderPool( val sliced = changelog.slice(slice) val tracker = BlockLogTracker(blockTrackMode) tracker.replay(sliced) + if (tracker.isEmpty()) { + return + } trackers[slice] = tracker }