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
ref(dsyms): Prefer debug ids over code ids (#95861)
Only fallback to a code id search if there is no 'perfect' match for a
debug id.
Example SQL query:
```sql
(
SELECT "sentry_projectdsymfile"."id" AS "col1",
"sentry_projectdsymfile"."file_id" AS "col2",
"sentry_projectdsymfile"."checksum" AS "col3",
"sentry_projectdsymfile"."object_name" AS "col4",
"sentry_projectdsymfile"."cpu_name" AS "col5",
"sentry_projectdsymfile"."project_id" AS "col6",
"sentry_projectdsymfile"."uuid" AS "col7",
"sentry_projectdsymfile"."code_id" AS "col8",
"sentry_projectdsymfile"."data" AS "col9",
"sentry_projectdsymfile"."date_accessed" AS "col10",
"sentry_file"."id" AS "col11",
"sentry_file"."name" AS "col12",
"sentry_file"."type" AS "col13",
"sentry_file"."timestamp" AS "col14",
"sentry_file"."headers" AS "col15",
"sentry_file"."size" AS "col16",
"sentry_file"."checksum" AS "col17",
"sentry_file"."blob_id" AS "col18",
"sentry_file"."path" AS "col19"
FROM "sentry_projectdsymfile"
INNER JOIN "sentry_file"
ON (
"sentry_projectdsymfile"."file_id" = "sentry_file"."id")
WHERE (
"sentry_projectdsymfile"."uuid" = dfb8e43a-f242-3d73-a453-aeb6a777ef75
AND "sentry_projectdsymfile"."project_id" = 4556436849360897))
UNION
(
SELECT "sentry_projectdsymfile"."id" AS "col1",
"sentry_projectdsymfile"."file_id" AS "col2",
"sentry_projectdsymfile"."checksum" AS "col3",
"sentry_projectdsymfile"."object_name" AS "col4",
"sentry_projectdsymfile"."cpu_name" AS "col5",
"sentry_projectdsymfile"."project_id" AS "col6",
"sentry_projectdsymfile"."uuid" AS "col7",
"sentry_projectdsymfile"."code_id" AS "col8",
"sentry_projectdsymfile"."data" AS "col9",
"sentry_projectdsymfile"."date_accessed" AS "col10",
"sentry_file"."id" AS "col11",
"sentry_file"."name" AS "col12",
"sentry_file"."type" AS "col13",
"sentry_file"."timestamp" AS "col14",
"sentry_file"."headers" AS "col15",
"sentry_file"."size" AS "col16",
"sentry_file"."checksum" AS "col17",
"sentry_file"."blob_id" AS "col18",
"sentry_file"."path" AS "col19"
FROM "sentry_projectdsymfile"
INNER JOIN "sentry_file"
ON (
"sentry_projectdsymfile"."file_id" = "sentry_file"."id")
WHERE (
"sentry_projectdsymfile"."code_id" = ae0459704fc7256
AND "sentry_projectdsymfile"."project_id" = 4556436849360897
AND NOT EXISTS
(
SELECT 1 AS "a"
FROM "sentry_projectdsymfile" u0
WHERE (
u0."uuid" = dfb8e43a-f242-3d73-a453-aeb6a777ef75
AND u0."project_id" = 4556436849360897) limit 1)))
```
0 commit comments