Resolving 504 Errors During Schema Updates
TLDR David faced an issue with schema update resulting in 504 errors. The issue resolved itself. Jason explained the reason behind the errors.
Powered by Struct AI
3
4mo
Aug 02, 2023 (4 months ago)
David
David
06:47 PMHello all,
I tried to update a schema in my dev env to enable infix search on one of our primary fields. I received two
I tried to update a schema in my dev env to enable infix search on one of our primary fields. I received two
504
s in the cloud console, and now it appears my entire collection is gone. I'm also unable to create a new one in my cluster. Not sure what's going on here, any guidance? Thanks06:57
David
06:57 PMOh whew, it appears to be back online now, but that made my heart jump.
It appears despite the
It appears despite the
504
responses, the schema is now updated and my documents are back online. I didn't see anything indicating that something was processing, but that's what I was hoping.Jason
Jason
07:32 PMSchema alteration is a blocking operation on the entire cluster, so it can take a bit of time to run depending on the size of the dataset. So the 504s you saw were because the Cloud UI couldn’t connect to your cluster as it was executing the alter
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 3015 threads (79% resolved)
Similar Threads
Unexpected Schema Updates in Typesense Cloud
Samuel encountered unexpected schema updates in Typesense Cloud, which they didn't make. Jason asked for more information to investigate the issue.
7
9mo
Updating Collection Schema on Typesense Cloud Returns 408 Error
Rushil had issues updating a schema on Typesense Cloud, receiving a 408 error. Jason assisted, indicating that his cluster upgrade caused the issue, solved it, and advised to avoid similar changes in the future.
11
4mo
Updating Existing Schema Error in UI
Dev encountered an error while updating a schema through the UI. Jason explained that creating a new collection with the updated schema is necessary to change the setting.
3
7mo