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

Check KV ready before starting nextgenrepl #23

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

martinsumner
Copy link

@martinsumner martinsumner commented Mar 6, 2024

If riak_kv is not ready, and riak_kv_replrtq_snk starts work it will fetch from queues on the remote cluster, but not be able to put those changes into this cluster.

This defers the prompting of work on startup until after riak_kv is ready. The riak_kv_replrtq_peer can also prompt work - so this too is delayed until riak_kv has started.

The riak_kv_ttaaefs_manager will not function correctly without riak_kv being started, so this also has startup deferred should riak_kv not be ready after the initial startup timeout.

If riak_kv is not ready, and riak_kv_replrtq_snk starts work it will fetch from queues on the remote cluster, but not be able to put those changes into this cluster.

This defers the prompting of work on startup until after riak_kv is ready.  The `riak_kv_replrtq_peer` can also prompt work - so this too  is delayed until riak_kv has started.

The riak_kv_ttaaefs_manager will not function correctly without riak_kv being started, so this also has startup deferred should riak_kv not be ready after the initial startup timeout.
@martinsumner
Copy link
Author

#22

@martinsumner
Copy link
Author

OpenRiak/riak_test#13

Allows for timeout to be reduced in test and aligned with waits in test.
@martinsumner martinsumner merged commit b7b690f into nhse-develop Mar 28, 2024
3 checks passed
@martinsumner martinsumner deleted the nhse-d32-nhskv.i22 branch March 28, 2024 15:32
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