I'm working with RisingWave and encountered an issue where my queries were failing with an error indicating that the cluster is bootstrapping. I mistyped a command which caused the meta service to enter a bootstrap recovery loop that persisted through restarts. I'm looking for a way to check if the database is stuck in bootstrapping without having to rely on meta logs. Is there a query or a table that can provide this information? I'm using risingwave:nightly-20240207
with a Docker Compose setup.
Here's the error I encountered when trying to create a table:
ERROR: Failed to run the query
Caused by these errors (recent errors listed first):
1: gRPC request to meta service failed: Internal error
2: The cluster is bootstrapping
Time: 2.589 ms```
Rick Otten
Asked on Feb 16, 2024
Currently, RisingWave does not record the bootstrapping state in any queryable table. However, it's an interesting feature and the team has been informed about it. If you encounter a bootstrap recovery loop, it is recommended to check the logs for more details. In case of a persistent issue, you may need to manually intervene by identifying and removing any problematic entries from the meta store's tables and restarting the affected services. The issue you're experiencing seems to be related to the SQL meta backend, which is known to be bug-prone. The team is working on a fix, and you can try the nightly build nightly-20240220
/git-4197ad50c766c8d086d29948ef34e13582e72251
which should include the fix for this issue.