Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replicators: Configure status update intrvl
Adds a configuration option that lets users configure the interval on which we send updates to the upstream Postgres instance. This is notable because we include in the status update the min LSN up to which we've persisted data to disk across every base table. For higher write throughputs, users may want to configure a lower status update interval to ensure the size of the replication slot remains small. Refs: REA-3434 Release-Note-Core: Added a config option to allow users to configure the interval upon which we report our current position to Postgres Change-Id: I285cb1c658324178edadfc10b5b79b6c6dfb826b Reviewed-on: https://gerrit.readyset.name/c/readyset/+/6087 Tested-by: Buildkite CI Reviewed-by: Luke Osborne <luke@readyset.io>
- Loading branch information
1 parent
9cdd4d6
commit a3f88c5
Showing
3 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
readyset-server/tests/config_versions/1de70c2ead1edaedaf9808ac4bc854e18833fd4b.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"sharding":null,"materialization_config":{"packet_filters_enabled":false,"allow_full_materialization":false,"frontier_strategy":"None","partial_enabled":true},"domain_config":{"aggressively_update_state_sizes":false,"view_request_timeout":{"secs":5,"nanos":0},"table_request_timeout":{"secs":1800,"nanos":0},"eviction_kind":"Random"},"persistence":{"mode":"MemoryOnly","db_filename_prefix":"readyset","persistence_threads":1,"db_dir":null},"min_workers":1,"reuse":null,"abort_on_task_failure":true,"mir_config":{"allow_topk":false,"allow_paginate":false,"allow_mixed_comparisons":false},"upstream_db_url":null,"disable_upstream_ssl_verification":false,"ssl_root_cert":null,"disable_setup_ddl_replication":false,"replication_server_id":null,"replicator_restart_timeout":{"secs":1,"nanos":0},"replication_tables":null,"replication_tables_ignore":null,"snapshot_report_interval_secs":30,"replication_pool_size":50,"ignore_ulimit_check":false,"replicator_statement_logging":false,"replication_strategy":"Never","upquery_timeout":{"secs":5,"nanos":0},"worker_request_timeout":{"secs":1800,"nanos":0},"background_recovery_interval":{"secs":20,"nanos":0}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters