-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
None
Scott pointed out that it would be helpful to have a list of servers that didn't get the write and the OpTime that they are replicated to. That way, if w:something fails and all the other servers are an hour behind, the driver knows that there isn't much point in retrying. Conversely, if the other servers are almost up-to-date, it might be.
However, this is quite difficult because we don't keep a good map of local.slaves entries -> replica set members. local.slaves could have members in it that have since been removed from the set and we wouldn't want to list those in getLastError's response.
Also, we'll have to do something different for master/slave.
- is related to
-
SERVER-3329 Add more response fields for getLastError with w/wtimeout
- Closed
-
SERVER-4073 getLastError should return the members that the write has been replicated to
- Closed
- related to
-
SERVER-15427 Add command to manage the slave map
- Backlog