This message was deleted.
# community-help
s
This message was deleted.
j
Could you try this on
0.25.2.rc8
?
s
I have tried but after removal and add of column with embeddings. Our cluster started to become unhealthy for longer period of time
it's running OOM
i have requested downgrade to 0.25.1 but now the cluster is stuck in unhealthy state 😨
k
I saw your email and digged into this. Is the cluster using remote embeddings?
s
yes
I tried to use openai ada embeding, but It got stucks as I already mentiond
btw highly appreciated such fast response
🙌 1
k
According to the logs, the API requests to OpenAI is timing out.
s
Thanks for the info, at the moment cluster is unhealthy and we are getting Timed Out when trying to do a search query. So I decided to downgrade, but seems nothing helps
I would like to at least fix the cluster so It will start to respond as It's used in production service
k
Can you tell me if you ran an alter command earlier?
And what's the name of the collection with those 80K docs?
s
not sure what Alter command is, my steps were from yesterday: Upgrade to 0.25.1 Add Embedding field with OpenAI API key Everything was working smoothly, but It seemed that only new documents got their embeddings generated so I got too many similiar documents when doing search. Decided to ask on this community if embeddings will be generated also for past docs. Upgraded to 0.25.2.rc8 Removed Embedding Added Embedding Cluster got stuck Tried to downgrade to 0.25.1 cluster still stuck
widget
- name of collection
k
Ok go it. We have to see what happened here in detail later. What we could for now is skip recent writes and try to recover the recover the data to the last know snapshot before the changes that were made.
s
That would be awesome
k
Upgraded to 0.25.2.rc8
Cluster was still fine post this, correct? It only broke after the changes to remove and add embedding?
s
Honestly I'm not sure, I have just rushed to recreate those embeddings as I really like that feature
so I'm not very sure If It was fine right after update, because in very short time went through re-creation of that embedding field
k
Ok no worries, I do see search metrics right after upgrade so it must have been fine then.
s
I see that Cluster is healthy now! Awesome job Kishore thank you so much for saving my day:)
I will rather not update a Schema for some time now
I wonder what would be better way to add embeddings, should I create another cluster and duplicate all the data there to do such exploration ?
k
Wait, not yet, still need to do one small thing. It will go offline and come back again.
s
ok no worries, thank you
k
I wonder what would be better way to add embeddings, should I create another cluster and duplicate all the data there to do such exploration ?
I suspect that when embedding was enabled a lot of the old data was re-processed and this hit memory limits and process just got stuck. We will try reproducing this on a node with enough memory to ensure that this workflow works if not for memory. For now, using a new cluster will be the best approach. If you had enough memory in a larger cluster you can also create a new collection within that.
Cluster is back up.
s
Thank you so much
One more question if I can ask
If I create a new cluster and start to send all the 80k documents at one moment
with embeddings enabled, It is there still a chance that It will get stuck?
Or Should I update cluster to eg 16gb memory and then downgrade after embeddings are done?
k
Each openai embedding is 768 dimensions. Each dimension takes 4 bytes of memory for raw storage. 2.5x overhead for the index. That's the match to arrive at memory usage over and above the current memory consumed
I suspect another 1 GB of memory. So maybe use a 2 GB or 4 GB node and then scale it back later once you verify the math 🙂
If I create a new cluster and start to send all the 80k documents at one moment
That's fine -- it should work.
s
ok thanks again. Have a nice day 🙂
k
Welcome!