-
Notifications
You must be signed in to change notification settings - Fork 371
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
Add MySQL backend #3413
Comments
@AlekSi Please I would like to work on this ticket. |
@adetunjii any news? Anything we could help you with? |
@AlekSi I'm on it. I should be able to raise the first PR on it soon |
@adetunjii please start with the backend code. We are going to change a lot of code around handlers: #3662 |
@adetunjii poke :) |
@adetunjii, for the next step, I think we should integrate MySQL backend stub into our integration tests: add |
@adetunjii As a next step, we probably should add MySQL backend there: https://github.com/FerretDB/FerretDB/blob/main/internal/backends/helpers_test.go#L40 |
What should be done?
There is a significant community interest in the MySQL backend for FerretDB. While FerretDB Inc. does not have plans to author one, we could help maintain it if someone in the community wrote it.
FerretDB's architecture was recently changed to make adding new backends easier. See https://blog.ferretdb.io/ferretdb-v1-10-production-ready-sqlite/
To add a new backend, three interfaces should be implemented: https://pkg.go.dev/github.com/FerretDB/FerretDB/internal/backends. Please take a look at existing backends for examples.
Additionally, it should be hooked into our build system, integration tests, and CI configuration.
Where?
https://github.com/FerretDB/FerretDB/tree/main/internal/backends
Definition of Done
The text was updated successfully, but these errors were encountered: