Skip to content

Commit 7fdc45d

Browse files
committed
start logging last refresh sucessful time since startup
1 parent 76837e0 commit 7fdc45d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/uid2/operator/vertx/OperatorShutdownHandler.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ public void checkStoreRefreshStaleness() {
9292
Instant lastSuccess = entry.getValue().get();
9393

9494
if (lastSuccess == null) {
95-
// Store hasn't had a successful refresh yet - might be during startup
96-
// Don't trigger shutdown for stores that haven't initialized
95+
// Store hasn't had a successful refresh yet
96+
// This should rarely happen since startup success also records timestamp, but keep as defensive guard for edge cases
97+
LOGGER.warn("Store '{}' has no recorded successful refresh - skipping staleness check", storeName);
9798
continue;
9899
}
99100

0 commit comments

Comments
 (0)