citusdata / citusdata/citus

Set replication model to 's' when shard_replication_factor is 1

Open
#3,529 0 comments 0 reactions 0 assignees View on GitHub
technical debt
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

The `citus.replication_model` setting is confusing and unnecessary. Moreover, the default is 'statement' for historical reasons, but many features require 'streaming'.

We should deprecate the GUC and automatically set tables to repmodel 's' if the replication factor is 1. Existing tables with replication factor 1 should be updated to 's'.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.