[Question] why ‘store is read-only’

hello,
‘store is read-only’ is a restriction on the shard or on all? Does this issue occur because the shard is full or because the entire disk has reached its limit? We are deploying locally through Docker, and I checked that the disk is not full, so why is this happening?
thank you!

Hi @fr_yuan,

I hope you’re having a great week!

Weaviate typically enters a read-only state when there’s disk pressure

This is done to prevent file corruption or data loss. Have you monitored the disk to see if during batch or insertion, it may reach to a pressure state also check the default value.

Here is how to set the shard back to READY

Let me know if this helps!

thank you very much!
I have checked the status of the disk, and everything is normal. I want to know if the shard is READONLY because it has reached its limit? If so, what is the maximum limit for a shard?

Hi @fr_yuan,

Absolutely, I am always here to help. So you can inspect shards by running:

collection_name = client.collections.get(“collection_name”)
collection_shards = collection_name.config.get_shards()
print(collection_shards)

There isn’t a hard-coded limit for the size of a shards. However, the effective limit is typically determined by the underlying hardware resources.