File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,18 @@ where
1414 let ( zalsa, zalsa_local) = db. zalsas ( ) ;
1515 zalsa. unwind_if_revision_cancelled ( zalsa_local) ;
1616
17+ let database_key_index = self . database_key_index ( id) ;
18+ #[ cfg( debug_assertions) ]
19+ let _span = tracing:: debug_span!( "fetch" , query = ?database_key_index) . entered ( ) ;
20+
1721 let memo = self . refresh_memo ( db, zalsa, id) ;
1822 // SAFETY: We just refreshed the memo so it is guaranteed to contain a value now.
1923 let memo_value = unsafe { memo. value . as_ref ( ) . unwrap_unchecked ( ) } ;
2024
2125 self . lru . record_use ( id) ;
2226
2327 zalsa_local. report_tracked_read (
24- self . database_key_index ( id ) ,
28+ database_key_index,
2529 memo. revisions . durability ,
2630 memo. revisions . changed_at ,
2731 memo. revisions . accumulated . is_some ( ) ,
You can’t perform that action at this time.
0 commit comments