Skip to content

Commit

Permalink
Refactor: Update MetaClient import and remove parallelism setting in …
Browse files Browse the repository at this point in the history
…AddWorkerNodeRequest

Signed-off-by: Shanicky Chen <[email protected]>
  • Loading branch information
shanicky committed Nov 4, 2024
1 parent c7ffdf6 commit 5a7017a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import com.risingwave.proto.Hummock.UnpinVersionBeforeRequest;
import com.risingwave.proto.HummockManagerServiceGrpc.HummockManagerServiceBlockingStub;
import com.risingwave.proto.Meta.AddWorkerNodeRequest;
import com.risingwave.proto.Meta.AddWorkerNodeRequest.Property;
import com.risingwave.proto.Common.WorkerNode.Property;
import com.risingwave.proto.Meta.AddWorkerNodeResponse;
import com.risingwave.proto.Meta.HeartbeatRequest;
import io.grpc.Grpc;
Expand Down Expand Up @@ -100,7 +100,6 @@ public MetaClient(String metaAddr, ScheduledExecutorService scheduler) {
Property.newBuilder()
.setIsStreaming(false)
.setIsServing(false)
.setWorkerNodeParallelism(0)
.build())
.build();
AddWorkerNodeResponse resp = clusterStub.addWorkerNode(req);
Expand Down

0 comments on commit 5a7017a

Please sign in to comment.