mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
Merge pull request #1318 from qdrant/feat/bashofmann/replication-cloud-notes
Add information on updating replication_factor cloud vs open-source
This commit is contained in:
@@ -752,8 +752,6 @@ to recover dead shards.
|
||||
|
||||
## Replication
|
||||
|
||||
*Available as of v0.11.0*
|
||||
|
||||
Qdrant allows you to replicate shards between nodes in the cluster.
|
||||
|
||||
Shard replication increases the reliability of the cluster by keeping several copies of a shard spread across the cluster.
|
||||
@@ -761,9 +759,9 @@ This ensures the availability of the data in case of node failures, except if al
|
||||
|
||||
### Replication factor
|
||||
|
||||
When you create a collection, you can control how many shard replicas you'd like to store by changing the `replication_factor`. By default, `replication_factor` is set to "1", meaning no additional copy is maintained automatically. You can change that by setting the `replication_factor` when you create a collection.
|
||||
When you create a collection, you can control how many shard replicas you'd like to store by changing the `replication_factor`. By default, `replication_factor` is set to "1", meaning no additional copy is maintained automatically. The default can be changed in the [Qdrant configuration](/documentation/guides/configuration/#configuration-options). You can change that by setting the `replication_factor` when you create a collection.
|
||||
|
||||
Currently, the replication factor of a collection can only be configured at creation time.
|
||||
The `replication_factor` can be updated for an existing collection, but the effect of this depends on how you're running Qdrant. If you're hosting the open source version of Qdrant yourself, changing the replication factor after collection creation doesn't do anything. You can manually [create](#creating-new-shard-replicas) or drop shard replicas to achieve your desired replication factor. In Qdrant Cloud (including Hybrid Cloud, Private Cloud) your shards will automatically be replicated or dropped to match your configured replication factor.
|
||||
|
||||
```http
|
||||
PUT /collections/{collection_name}
|
||||
@@ -893,7 +891,7 @@ Since a replication factor of "2" would require twice as much storage space, it
|
||||
|
||||
### Creating new shard replicas
|
||||
|
||||
It is possible to create or delete replicas manually on an existing collection using the [Update collection cluster setup API](https://api.qdrant.tech/master/api-reference/distributed/update-collection-cluster).
|
||||
It is possible to create or delete replicas manually on an existing collection using the [Update collection cluster setup API](https://api.qdrant.tech/master/api-reference/distributed/update-collection-cluster). This is usually only necessary if you run Qdrant open-source. In Qdrant Cloud shard replication is handled and updated automatically, matching the configured `replication_factor`.
|
||||
|
||||
A replica can be added on a specific peer by specifying the peer from which to replicate.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user