Hey all, I just tried to update a field on my coll...
# community-help
y
Hey all, I just tried to update a field on my collection in order to change it to sort: true, but having done so seems to have crashed Typesense. Latency is way up, and is always times out. Monitoring says it’s still healthy though…
j
Doing an in-place schema migration is a blocking operation... So all reads / writes will be blocked until the operation is complete
We've improved this in the upcoming version of Typesense (v0.26) so it only blocks writes
Until then, I'd recommend using the alias method to change the collection schema in a zero downtime way
For the issue at hand, I can confirm that the nodes are still executing the alter command
y
I see…ok. How long does this operation generally take to complete for a collection of ~900k elements?
And do you have a general target of when 0.26 will be released?
j
Looks like each round of modification takes about 20 minutes for your dataset, and I see multiple alters running one after another
We're probably at least two months out from a 0.26 GA release... But we have users using the RC builds in production already. Although the latest RC build has a known performance regression when using
group_by
. We're working on addressing that, but otherwise it's useable
The alter seems to have completed now
y
Cool, seeing data come through again. Sincerely appreciate the fast responses and detailed answers, thank you
👍 1