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

Update tests to provision 3 nodes cluster tests with a replicated loglet with replication property 2 #27

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

Conversation

tillrohrmann
Copy link
Contributor

This commit adds the NodeCtl grpc svc to the repo to generate a grpc client to manually provision a replicated loglet with a replciation property 2. W/o manually provisioning the cluster, the replication property defaults to 1.

Note: Whenever the *.proto files change in the restate repo, they need to be updated in this repository as well if there is an incompatible change.

This fixes #26.

Comment on lines +24 to 26
{
"moduleLicense": "COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0"
}
Copy link
Contributor Author

@tillrohrmann tillrohrmann Dec 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This license is needed for javax.annotation:javax.annotation-api which is pulled in by io.grpc:grpc-kotlin-stub. It should not be a problem since we are not changing the sources.

@@ -46,24 +46,28 @@ class RestateContainer(
private val WAIT_STARTUP_STRATEGY =
WaitAllStrategy()
.withStrategy(
Wait.forHttp("/restate/health")
.forPort(RUNTIME_INGRESS_ENDPOINT_PORT)
Wait.forHttp("/metrics")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/metrics will be reachable once the node grpc server starts up. Note at this point (if manual provisioning is enabled) the other services (ingress, admin, etc.) are not yet running.

…let with replication property 2

This commit adds the NodeCtl grpc svc to the repo to generate a grpc client to manually
provision a replicated loglet with a replciation property 2. W/o manually provisioning the
cluster, the replication property defaults to 1.

Note: Whenever the *.proto files change in the restate repo, they need to be updated in this
repository as well if there is an incompatible change.

This fixes restatedev#26.
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.

Provision Restate three node test cluster with replication property of 2
1 participant