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

MySQL Cluster / OCI Heatwave #310

Open
fopinappb opened this issue Nov 5, 2024 · 0 comments
Open

MySQL Cluster / OCI Heatwave #310

fopinappb opened this issue Nov 5, 2024 · 0 comments

Comments

@fopinappb
Copy link

The adaptative backend criteria (https://github.com/etianen/django-watson/blob/master/watson/backends.py#L463-L469) fails when using a clustered MySQL such as OCI Heatwave.

Explicitly choose Regex one, resolves it (with the performance impact that comes with it).

The issue comes with this line https://github.com/etianen/django-watson/blob/master/watson/backends.py#L369

MyISAM is not available in these solutions - it is not atomic so it cannot be used in a cluster.

I think it would be nice if lack of MyISAM was detected and an alternative approach was used instead: either falling back to regex backend or actually using some full text solution with innodb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant