Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async generator raised StopAsyncIteration after changing database reference for an existing connector #2349

Open
ppf2 opened this issue Apr 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ppf2
Copy link
Member

ppf2 commented Apr 5, 2024

A user reported an async generator raised StopAsyncIteration error when using MSSQL against Microsoft SQL Azure (RTM) after switching the database name in the connector configuration and re-running the sync.

We suspect that this is due to the two data sources not having the same data structure.

As part of our investigation, a recommendation was made:

The advice is to use only one data source per connector. If they indexed some data and they want to change the data source they need to create a new connector or make sure the new data source has the same data.

If this is the best practice, it will be helpful to build some guardrails (for all of our database connectors) to prevent users from switching the data source (if the data scheme is different) and return the appropriate error handling to ask the user to create a new connector instead. Thx!

@ppf2 ppf2 added the bug Something isn't working label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant