Skip to content

Default Cassandra replication factor considered harmful #2993

@jtlisi

Description

@jtlisi

f.IntVar(&cfg.ReplicationFactor, "cassandra.replication-factor", 1, "Replication factor to use in Cassandra.")

Cortex will initialize a keyspace with a replication factor of 1 by default. Even if this value is changed later, it will not alter the Keyspace with the new value. This is not ideal and unless a user carefully ensures this value is set when bootstrapping cortex, they could end up with a cassandra backend that is not fault tolerant. Ideally, this value should default to 3, since this allows for a Quorum to be reached without any particular Cassandra node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    storage/chunksChunks storage enginetype/productionIssues related to the production use of Cortex, inc. configuration, alerting and operating.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions