Commit d37e180
committed
[manager] Only keep relations with lateness in the schema.
We include program IR and schema in pipeline config. The config is
passed to the pipeline via ConfigMap, which has a size limit of 1MB. A
large program can easily exceed this limit. Previously we reduced IR
size by only keeping source and sink nodes. A program with a very large
number of relations can still exceed the limit. Since this information
is currently only used as part of backfill avoidance, which only cares
about relations with lateness, we prune all relations without lateness
to further reduce pipeline config size.
Signed-off-by: Leonid Ryzhyk <ryzhyk@gmail.com>1 parent a2bd0d6 commit d37e180
File tree
2 files changed
+17
-3
lines changed- crates
- feldera-types/src
- pipeline-manager/src/db/types
2 files changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
237 | 241 | | |
238 | 242 | | |
239 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
| 757 | + | |
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
| |||
772 | 772 | | |
773 | 773 | | |
774 | 774 | | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
775 | 785 | | |
776 | 786 | | |
777 | | - | |
| 787 | + | |
778 | 788 | | |
779 | 789 | | |
780 | 790 | | |
| |||
0 commit comments