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

Deprecate ClusterState types #2434

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

Conversation

muhamadazmy
Copy link
Contributor

@muhamadazmy muhamadazmy commented Dec 17, 2024

Deprecate ClusterState types

Summary:
derprecate old cluster state that included information about
partition state.

A new ClusterState object is introduced that only have livenss information


Stack created with Sapling. Best reviewed with ReviewStack.

This was referenced Dec 17, 2024
@muhamadazmy muhamadazmy force-pushed the pr2434 branch 2 times, most recently from de80d30 to d896c99 Compare December 17, 2024 14:03
@muhamadazmy muhamadazmy marked this pull request as draft December 17, 2024 15:09
@muhamadazmy muhamadazmy force-pushed the pr2434 branch 3 times, most recently from 729d7dd to 16764bb Compare December 17, 2024 17:49
@muhamadazmy muhamadazmy changed the title cluster state integration with cluster controller Cluster state integration with cluster controller Dec 17, 2024
@muhamadazmy muhamadazmy force-pushed the pr2434 branch 4 times, most recently from f8d3c6c to 1e57e8a Compare December 20, 2024 13:13
@muhamadazmy muhamadazmy changed the title Cluster state integration with cluster controller Deprecate ClusterState types Dec 20, 2024
Summary:
derprecate old cluster state that included information about
partition state.

A new ClusterState object is introduced that only have livenss information
Copy link
Contributor

@AhmedSoliman AhmedSoliman left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +13 to +19
import "restate/common.proto";
import "restate/cluster.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";

package restate.deprecated_cluster;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm assuming that this file is a simple rename that github doesn't recognize as a rename, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's confused because we still have a file with the same old name (cluster.proto)

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