Issue: Periodical Server Report Error: No Available dqlite Leader Server Found
Description
Our server periodically logs an error indicating that "no available dqlite leader server is found." The server starting in memory and operating without cluster mode. The issue appears randomly, with the system functioning correctly for variable durations (sometimes 1 hour, sometimes a day) before encountering the problem.
Error Logs:
Initial error indicating the absence of a dqlite leader:
no available dqlite leader server found
Subsequent errors:
call leader (budget 14.999566249s): receive: header: read tcp 10.26.59.31:60984->10.26.59.31:9091: i/o timeout
10.26.59.31 - this is server ip.
Configuration:
The server is initialized with the following dqlite options:
options := []dqlite.Option{ dqlite.WithAddress(cfg.GetDbAddress()), dqlite.WithLogFunc(logFunc), dqlite.WithDiskMode(false), } dqApp, err := dqlite.New(cfg.GetDbDir(), options...)
Hi!
I'm not sure if you are using v3 or v2, but a similar problem was (hopefully) solved byt #381. Could you check if that was solved by the latest release of either branch?