Skip to content

Commit 65970ae

Browse files
author
Siddhartha Sahu
committed
Minor
1 parent bbce016 commit 65970ae

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

doc/developer/design/20240919_dataflow_expiration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ More concretely, this feature involves the following changes:
106106
`replica_expiration = now() + offset`. This value indicates the maximum
107107
time for which the replica is expected to be running.
108108
* Existing replicas should be restarted to enable or disable replica
109-
expiration for them.
109+
expiration for them.
110110
* When building a dataflow, compute `dataflow_expiration` as per the logic
111111
described above. If non-empty, the `dataflow_expiration` is added to the
112112
dataflow `until` that ensures that any diff beyond this limit is dropped in

src/compute-types/src/dataflows.proto

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,17 @@ message ProtoDataflowDescription {
4848
sinks.ProtoComputeSinkDesc sink_desc = 2;
4949
}
5050

51+
message ProtoRefreshDepIndex {
52+
uint64 start = 1;
53+
uint64 end = 2;
54+
}
55+
56+
message ProtoRefreshDep {
57+
optional ProtoRefreshDepIndex refresh_dep_index = 1;
58+
optional mz_repr.refresh_schedule.ProtoRefreshSchedule refresh_schedule = 2;
59+
}
60+
5161
message ProtoDataflowExpirationDesc {
52-
message ProtoRefreshDepIndex {
53-
uint64 start = 1;
54-
uint64 end = 2;
55-
}
56-
message ProtoRefreshDep {
57-
optional ProtoRefreshDepIndex refresh_dep_index = 1;
58-
optional mz_repr.refresh_schedule.ProtoRefreshSchedule refresh_schedule = 2;
59-
}
6062
optional mz_repr.antichain.ProtoU64Antichain transitive_upper = 1;
6163
bool is_timeline_epoch_ms = 3;
6264
repeated ProtoRefreshDep refresh_deps = 4;

src/compute-types/src/dataflows.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ use serde::{Deserialize, Serialize};
2626
use timely::progress::Antichain;
2727
use timely::Container;
2828

29-
use crate::dataflows::proto_dataflow_description::proto_dataflow_expiration_desc::ProtoRefreshDep;
30-
use crate::dataflows::proto_dataflow_description::proto_dataflow_expiration_desc::ProtoRefreshDepIndex;
3129
use crate::dataflows::proto_dataflow_description::{
32-
ProtoDataflowExpirationDesc, ProtoIndexExport, ProtoIndexImport, ProtoSinkExport,
33-
ProtoSourceImport,
30+
ProtoDataflowExpirationDesc, ProtoIndexExport, ProtoIndexImport, ProtoRefreshDep,
31+
ProtoRefreshDepIndex, ProtoSinkExport, ProtoSourceImport,
3432
};
3533
use crate::plan::flat_plan::FlatPlan;
3634
use crate::plan::Plan;

0 commit comments

Comments
 (0)