I do not understand this message. What does it mean? I notice that I am not able to update the schema via the web GUI anymore.
ready — Schema ready for version 1729130875545000. Please commit or abandon using the Fauna CLI before updating collections, indexes, functions, or roles in the dashboard. Learn more.
Hi @nichoth. Some schema changes require indexes to be built by an async background task. In these cases, it can temporarily break an application while the index is unavailable while building. To address this, we introduced the concept of “staged schema” changes. This allows you to continue to operate with your current active schema while the new schema is prepared with new indexes. Once all of the indexes are active, you can “commit” your staged schema and instantly switch over to it without any downtime.
Now, to clarify how to handle your issue if you are getting errors: you do need to clear the staged schema before you make any other changes. You can either commit what you staged, or remove with the CLI running
fauna schema abandon
We are working on updates to the dashboard to work with staged schema, but in the meantime you will need to work with them using the CLI.
Starting with v3 of fauna-shell, the default mode of pushing a schema is to stage it. Please check out our latest documentation here: Fauna CLI - Fauna Docs