-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: adding attribute in a large collection crashes #6028
Comments
Hi @AidenY69 |
|
hi @AidenY69 thank you for the update, I will be looking into it and get back to you : ) |
Hey @AidenY69 , Can you show create the table structure, please? It is always better to add an attribute on such a big scale when you have minimum traffic. looks like you have exceeded the time for waiting for a lock which default is 50 sec. |
Is it possible to stop the writes for this collection, from somewhere in your code? or limit the traffic using this collection? |
You can try setting innodb_lock_wait_timeout for more seconds like 120 seconds. |
The website is actually complete shutdown (maiantence mode) when these operations occur, so 0 traffic. The lockout timeout was raised and still the same issue. |
What is the error you get in the appwrite-mariadb container? |
@AidenY69 Are you still experiencing this issue? |
This issue has been labeled as a 'question', indicating that it requires additional information from the requestor. It has been inactive for 7 days. If no further activity occurs, this issue will be closed in 14 days. |
This issue has been closed due to inactivity. If you still require assistance, please provide the requested information. |
👟 Reproduction steps
Make a collection with over 40 million items, try adding a new attribute.
👍 Expected behavior
A new attribute should be added
👎 Actual Behavior
It crashes instead.
Is there a way to use command line to add a new attribute or some 'backdoor' method? Bash script to just run through every item in the database line by line?
🎲 Appwrite version
Version 1.3.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: