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
108347: catalog: add more detail to DescriptorNotFoundErrors r=rafiss a=rafiss
This should make it easier to debug some tests where this error is happening rarely
informs cockroachdb#104164
---
### catalog: use NewReferencedDescriptorNotFoundError
This is easier to remember than having to wrap the error at each call
site.
---
### catalog: add more detail to ErrDescriptorNotFound errors
Now the ID will always be shown when this error happens.
---
Release note: None
Co-authored-by: Rafi Shamim <[email protected]>
ParentID 52, ParentSchemaID 29: relation "vehicle_location_histories" (56): referenced database ID 52: referenced descriptor not found
10
10
ParentID 52, ParentSchemaID 29: relation "promo_codes" (57): referenced database ID 52: referenced descriptor not found
11
11
ParentID 52, ParentSchemaID 29: relation "user_promo_codes" (58): referenced database ID 52: referenced descriptor not found
12
-
ParentID 0, ParentSchemaID 0: namespace entry "movr" (52): referenced descriptor not found
12
+
ParentID 0, ParentSchemaID 0: namespace entry "movr" (52): referenced schema ID 52: referenced descriptor not found
13
13
Examining 2 jobs...
14
14
job 587337426984566785: running schema change GC refers to missing table descriptor(s) [59]; existing descriptors that still need to be dropped []; job safe to delete: true.
0 commit comments