You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
153491: changefeedccl: periodically write entire span frontier to job_info r=KeithCh a=andyyang890
**changefeedccl: periodically write entire span frontier to job_info**
Fixes#153200
Release note (performance improvement): Changefeeds will now
periodically persist their entire span frontiers so that
fewer duplicates will need to be emitted during restarts.
The default persistence interval is 30s, but this can be
configured with the `changefeed.progress.frontier_persistence.interval`
cluster setting.
---
**roachtest: add benchmark for changefeed frontier persistence**
Fixes#153202
Release note: None
Co-authored-by: Andy Yang <[email protected]>
changefeed.memory.per_changefeed_limit byte size 512 MiB controls amount of data that can be buffered per changefeed application
23
23
changefeed.resolved_timestamp.min_update_interval (alias: changefeed.min_highwater_advance) duration 0s minimum amount of time that must have elapsed since the last time a changefeed's resolved timestamp was updated before it is eligible to be updated again; default of 0 means no minimum interval is enforced but updating will still be limited by the average time it takes to checkpoint progress application
24
24
changefeed.node_throttle_config string specifies node level throttling configuration for all changefeeeds application
25
+
changefeed.progress.frontier_persistence.interval duration 30s minimum amount of time that must elapse before a changefeed will persist its entire span frontier again application
25
26
changefeed.protect_timestamp.max_age duration 96h0m0s fail the changefeed if the protected timestamp age exceeds this threshold; 0 disables expiration application
26
27
changefeed.protect_timestamp_interval duration 10m0s controls how often the changefeed forwards its protected timestamp to the resolved timestamp application
27
28
changefeed.schema_feed.read_with_priority_after duration 1m0s retry with high priority if we were not able to read descriptors for too long; 0 disables application
Copy file name to clipboardExpand all lines: docs/generated/settings/settings.html
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
<tr><td><divid="setting-changefeed-memory-per-changefeed-limit" class="anchored"><code>changefeed.memory.per_changefeed_limit</code></div></td><td>byte size</td><td><code>512 MiB</code></td><td>controls amount of data that can be buffered per changefeed</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
28
28
<tr><td><divid="setting-changefeed-min-highwater-advance" class="anchored"><code>changefeed.resolved_timestamp.min_update_interval<br/>(alias: changefeed.min_highwater_advance)</code></div></td><td>duration</td><td><code>0s</code></td><td>minimum amount of time that must have elapsed since the last time a changefeed's resolved timestamp was updated before it is eligible to be updated again; default of 0 means no minimum interval is enforced but updating will still be limited by the average time it takes to checkpoint progress</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
29
29
<tr><td><divid="setting-changefeed-node-throttle-config" class="anchored"><code>changefeed.node_throttle_config</code></div></td><td>string</td><td><code></code></td><td>specifies node level throttling configuration for all changefeeeds</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
30
+
<tr><td><divid="setting-changefeed-progress-frontier-persistence-interval" class="anchored"><code>changefeed.progress.frontier_persistence.interval</code></div></td><td>duration</td><td><code>30s</code></td><td>minimum amount of time that must elapse before a changefeed will persist its entire span frontier again</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
30
31
<tr><td><divid="setting-changefeed-protect-timestamp-max-age" class="anchored"><code>changefeed.protect_timestamp.max_age</code></div></td><td>duration</td><td><code>96h0m0s</code></td><td>fail the changefeed if the protected timestamp age exceeds this threshold; 0 disables expiration</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
31
32
<tr><td><divid="setting-changefeed-protect-timestamp-interval" class="anchored"><code>changefeed.protect_timestamp_interval</code></div></td><td>duration</td><td><code>10m0s</code></td><td>controls how often the changefeed forwards its protected timestamp to the resolved timestamp</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
32
33
<tr><td><divid="setting-changefeed-schema-feed-read-with-priority-after" class="anchored"><code>changefeed.schema_feed.read_with_priority_after</code></div></td><td>duration</td><td><code>1m0s</code></td><td>retry with high priority if we were not able to read descriptors for too long; 0 disables</td><td>Basic/Standard/Advanced/Self-Hosted</td></tr>
0 commit comments