Skip to content

num_shards fix#45

Merged
prashanthellina merged 2 commits intomasterfrom
num_shards_fix
Mar 4, 2020
Merged

num_shards fix#45
prashanthellina merged 2 commits intomasterfrom
num_shards_fix

Conversation

@IdavalapatiRamanjaneyulu
Copy link
Copy Markdown
Contributor

It works when we have 6000001 vectors and num_vec_per_shard is 2M. For example (6000001/2000000)+1 gives 4.

But the problem comes when we have 6000000 vectors. In that case also we will get 4 shards instead of 3.

prashanthellina
prashanthellina previously approved these changes Mar 3, 2020
@IdavalapatiRamanjaneyulu
Copy link
Copy Markdown
Contributor Author

IdavalapatiRamanjaneyulu commented Mar 4, 2020

My bad, forgot to update the version. Changed now.

@prashanthellina prashanthellina merged commit 9960a1f into master Mar 4, 2020
@prashanthellina prashanthellina deleted the num_shards_fix branch March 4, 2020 18:59
@prashanthellina prashanthellina restored the num_shards_fix branch March 4, 2020 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants