Welcome to the Weaviate community! It’s awesome to have you here with us.
I understand that you’re looking to disable some warning messages related to RAFT. In release 1.25, we introduced the RAFT mechanism,
RAFT is a robust consensus algorithm that improves the fault tolerance of multi-node clusters. With larger Weaviate clusters, coordination between nodes becomes more important, and RAFT helps ensure reliable performance even under heavy loads.
Since you’re currently running version 1.26.4 on a single node, have you considered upgrading to a 3-node cluster? This setup is highly recommended.
Alternatively, if you remain on one node for now and want to reduce the log output on a single node, you could consider setting the LOG_LEVEL to one of the following:
You can get rid of that message by setting RAFT_EXPECT_JOIN to 1.
Bear in mind that this is not necessary, as it will have this error log, but it should not affect Weaviate operations, but reduce the error logs on this scenario.
Also, I noticed you are using the python v3 client syntax. Please, consider using the new python v4 client, as it will deliver a lot of improvements.
{“level”:“warning”,“msg”:“Multiple vector spaces are present, GraphQL Explore and REST API list objects endpoint module include params has been disabled as a result.”,“time”:“2024-09-09T11:39:12-03:00”}
{“action”:“raft”,“last-leader-addr”:“”,“last-leader-id”:“”,“level”:“warning”,“msg”:“raft heartbeat timeout reached, starting election”,“time”:“2024-09-09T11:39:14-03:00”}