Skip to content

Commit 3d8e767

Browse files
Revert "add bidirectional streaming support for external snapshot streaming" (#274)
This reverts commit 3290110.
1 parent d609f43 commit 3d8e767

File tree

4 files changed

+89
-99
lines changed

4 files changed

+89
-99
lines changed

.trunk/trunk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ plugins:
1515
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
1616
runtimes:
1717
enabled:
18-
- go@1.24.1
18+
- go@1.25.0
1919
- node@18.20.5
2020
- python@3.10.8
2121

protos/api.v2.proto

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ service Dgraph {
3131
rpc ListNamespaces(ListNamespacesRequest) returns (ListNamespacesResponse) {}
3232

3333
rpc UpdateExtSnapshotStreamingState(UpdateExtSnapshotStreamingStateRequest) returns (UpdateExtSnapshotStreamingStateResponse) {}
34-
rpc StreamExtSnapshot(stream StreamExtSnapshotRequest) returns (stream StreamExtSnapshotResponse) {}
34+
rpc StreamExtSnapshot(stream StreamExtSnapshotRequest) returns (StreamExtSnapshotResponse) {}
3535
}
3636

3737
message PingRequest {}
@@ -178,9 +178,7 @@ message StreamExtSnapshotRequest {
178178
StreamPacket pkt = 3;
179179
}
180180

181-
message StreamExtSnapshotResponse {
182-
bool finish = 1;
183-
}
181+
message StreamExtSnapshotResponse {}
184182

185183
message StreamPacket {
186184
bytes data = 1;

protos/api.v2/api.v2.pb.go

Lines changed: 79 additions & 89 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/api.v2/api.v2_grpc.pb.go

Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)