Commit 5113989
authored
Fix issue with too long schema names breaking MotherDuck sync (#680)
If you have a database+schema that would result in a `ddb$` schema with
more than 63 characters it would completely break the MotherDuck
background syncing, due to an error-restart-loop. This changes the code
to skip that schema.
It also codes a bit more defensively in the place where it was also
previously throwing the error continuously. If the schema cannot be
found when we try to add a dependency for it, we say that we failed
to create the schema and skip it instead of getting into this error loop.1 parent 91b6bb1 commit 5113989
1 file changed
+18
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
737 | 745 | | |
738 | 746 | | |
739 | 747 | | |
| |||
803 | 811 | | |
804 | 812 | | |
805 | 813 | | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | 814 | | |
810 | 815 | | |
811 | 816 | | |
812 | 817 | | |
813 | 818 | | |
814 | | - | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
815 | 826 | | |
816 | 827 | | |
817 | 828 | | |
| |||
825 | 836 | | |
826 | 837 | | |
827 | 838 | | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
828 | 842 | | |
829 | 843 | | |
830 | 844 | | |
| |||
0 commit comments