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
{{ message }}
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
I recommend using Endpoint access if you want to control shard count and replicas.
Also, I suggest being careful adjusting those values (or not adjusting them at all) as it's easy to run into issues of fault tolerance and/or performance by setting incorrect numbers.
As of now, I have been using the Endpoint access. But it would be good to have this flexibility as part of create_database() function.
Please see if your team can accommodate this in the next major release.
Regards
Please read these guidelines before opening an issue.
Feature Request
From the source code, I found that it is not possible to use the cloudant to configure the shards and replica count of a database.
https://docs.couchdb.org/en/stable/cluster/sharding.html
I would like something as
couch_client.create_database(db_name, shards=3, replica=2, partitioned=False)
Environment details
Cloudant: 2.13
Python: 3.7
The text was updated successfully, but these errors were encountered: