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

fix(database): high-availability issues especially on SQL dbs #899

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

kkopanidis
Copy link
Contributor

feat(database): add basic replica recognition to stop system schema syncs from replicas
fix(database): manually modify "sync" variable of sequelize models when on instance syncs
refactor(database): propagate instanceSync to adapter schema creation
fix(database): mongoose will no longer try to create indexes during instance syncs
fix(datbase): sequelize will no longer try to sync schemas during instance syncs

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other (please describe)

Does this PR introduce a breaking change?

  • Yes
  • No

The PR fulfills these requirements:

  • It's submitted to the main branch
  • When resolving a specific issue, it's referenced in the PR's description (e.g. fix #xxx, where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature

Other information:

fix(database): mongoose will no longer try to create indexes during instance syncs
fix(datbase): sequelize will no longer try to sync schemas during instance syncs
…yncs from replicas

fix(database): manually modify "sync" variable of sequelize models when on instance syncs
@kkopanidis kkopanidis merged commit db7c1f8 into main Jan 18, 2024
5 checks passed
@kkopanidis kkopanidis deleted the database/ha branch January 18, 2024 13:11
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

Successfully merging this pull request may close these issues.

2 participants