You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/da-vinci-client/src/main/java/com/linkedin/davinci/stats/ingestion/heartbeat/HeartbeatVersionedStats.java
+21-8Lines changed: 21 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -245,36 +245,49 @@ private RecordLevelDelayOtelStats getOrCreateRecordLevelDelayOtelStats(String st
245
245
246
246
/**
247
247
* Emits a per-record OTel metric for leader record delay (called per record, not aggregated).
248
-
* Uses {@code get()} instead of {@code getOrCreate} to avoid synchronization on this hot path.
249
-
* Returns early if stats haven't been initialized yet for this store.
248
+
* Uses {@code get()} as a fast path; falls back to {@code getOrCreate} on first call per store.
Copy file name to clipboardExpand all lines: clients/da-vinci-client/src/test/java/com/linkedin/davinci/stats/ingestion/heartbeat/HeartbeatVersionedStatsTest.java
0 commit comments