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

Enable DBMS initialization from applying codepath #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

temeo
Copy link
Contributor

@temeo temeo commented Jun 11, 2021

No description provided.

@temeo temeo force-pushed the init-on-apply branch 2 times, most recently from d39a974 to 6ea87d7 Compare June 11, 2021 10:54
In general the provider might not guarantee that after joining
to replication group, the first applied event is view event.

Made init_initialized_ atomic and check it also from applying
codepath. If the DBMS is not yet initialized when applying the
first event, change state to initializing and wait for DBMS
initialization completion.

Notes:
- Allow connected -> initializing state change.
- Handle bootstrap_view in mock_connect to make server state synced
  for tests.
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.

1 participant