Skip to content

Commit f6972ac

Browse files
committed
release
1 parent cda8125 commit f6972ac

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Unreleased Changes
44

5+
## [2.0.6](https://github.com/pinecone-io/pinecone-python-client/compare/v2.0.5...v2.0.5) - 2022-02-15
6+
7+
### Changed
8+
- Changed the spec to add ```pods``` and ```pod_type``` fields to ```create_index``` and ```describe_index```.
9+
- ```pod_type``` is used to select between ```'s1'``` and ```'p1'``` pod types during index creation.
10+
- The field ```pods``` means total number of pods the index will use, ```pods = shards*replicas```.
11+
512
## [2.0.5](https://github.com/pinecone-io/pinecone-python-client/compare/v2.0.5...v2.0.4) - 2022-01-17
613

714
### Changed

pinecone/manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def describe_index(name: str):
184184
ready = response['status']['ready']
185185
return IndexDescription(name=db['name'], index_type=db['index_type'], metric=db['metric'],
186186
replicas=db['replicas'], dimension=db['dimension'], shards=db['shards'],
187-
pods=db.get('pods', db['shards']), pod_type=db.get('pod_type', 'p1'),
187+
pods=db.get('pods', db['shards']*db['replicas']), pod_type=db.get('pod_type', 'p1'),
188188
index_config=db['index_config'], status={'ready': ready})
189189

190190

0 commit comments

Comments
 (0)