Unable to lookup readonly databases from the system database due to error

In our Neo4j EC2 cluster, when one member is replaced due to an EC2 instance failure, the newly launched server starts in a "free" state rather than getting "enabled" as expected. Upon reviewing the debug logs, I encountered the following error:

025-04-24 10:05:56.117+0000 INFO  [c.n.d.DefaultDatabaseDataChangeService] Database data change listener com.neo4j.dbms.systemgraph.TopologyGraphDbmsModelSnapshotTracker@1978b0d5 registered for DatabaseId{00000000[system]}
2025-04-24 10:05:56.120+0000 WARN  [o.n.d.d.r.SystemGraphReadOnlyDatabaseLookupFactory] Unable to lookup readonly databases from the system database due to error! Using previous lookup SystemGraphLookup[alwaysReadOnly=true, databaseIds=[]].
Underlying error: null

Does any one know the reason for this issue?