damccull / ravendb_client

2 stars 0 forks source link

Topology update should also update topology for selected database in documentstore and documentsession #13

Open damccull opened 2 years ago

damccull commented 2 years ago

The database topology exists separately, but related to, the cluster topology. Nodes participating in the database do not have to include all nodes in the cluster. Therefore, if a database is selected on either the DocumentStoreActor or the DocumentSession, or both, they need to ensure they are updating the database topology as well as the cluster topology.