File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -5791,7 +5791,9 @@ ON omicron.public.sp_ereport (
57915791 sp_type,
57925792 sp_slot,
57935793 time_collected
5794- );
5794+ )
5795+ where
5796+ time_deleted IS NULL ;
57955797
57965798CREATE INDEX IF NOT EXISTS order_sp_ereports_by_timestamp
57975799ON omicron .public .sp_ereport
@@ -5833,7 +5835,9 @@ CREATE INDEX IF NOT EXISTS lookup_host_ereports_by_sled
58335835ON omicron .public .host_ereport (
58345836 sled_id,
58355837 time_collected
5836- );
5838+ )
5839+ WHERE
5840+ time_deleted IS NULL ;
58375841
58385842CREATE INDEX IF NOT EXISTS order_host_ereports_by_timestamp
58395843ON omicron .public .host_ereport
Original file line number Diff line number Diff line change @@ -3,4 +3,6 @@ ON omicron.public.sp_ereport (
33 sp_type,
44 sp_slot,
55 time_collected
6- );
6+ )
7+ WHERE
8+ time_deleted IS NULL ;
Original file line number Diff line number Diff line change 11CREATE INDEX IF NOT EXISTS lookup_host_ereports_by_sled ON omicron .public .host_ereport (
22 sled_id,
33 time_collected
4- );
4+ )
5+ WHERE
6+ time_deleted IS NULL ;
You can’t perform that action at this time.
0 commit comments