Repository navigation
Commit 1e5d82a
Mirror the Thrift auth default onto the Reyden kernel recovery path
On auto-recovery the Thrift default of auth_type=None (implicitly
databricks-oauth) was forwarded unchanged to the kernel, which has no
such fallback and rejects auth_type=None unless a PAT/M2M credential
shape is present — so a bare OAuth-U2M connection failed to recover.
Inject auth_type=databricks-oauth on the default-path kernel retry when
auth_type is unset and no credential shape is present, mirroring Thrift;
skip it when a credential shape exists so kernel routing is unchanged.
Also correct the warehouse-cache docstring: warehouse ids are globally
unique, so there is no cross-workspace collision on a shared SPOG host;
the host component is an optimization, not a correctness requirement.
Co-authored-by: Isaac <no-reply@databricks.com>
Signed-off-by: Rahul Singhal <rahul.singhal@databricks.com>1 parent e4fbaf2 commit 1e5d82a
3 files changed
Lines changed: 66 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
566 | 587 | | |
567 | 588 | | |
568 | 589 | | |
| |||
582 | 603 | | |
583 | 604 | | |
584 | 605 | | |
585 | | - | |
| 606 | + | |
586 | 607 | | |
587 | 608 | | |
588 | 609 | | |
| |||
597 | 618 | | |
598 | 619 | | |
599 | 620 | | |
600 | | - | |
| 621 | + | |
601 | 622 | | |
602 | 623 | | |
603 | 624 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
0 commit comments