SERVER-14157Open

rs.status() shell helper reports repllag

The result returned by replSetGetStatus contains enough information to compute a "repllag" value for each member with an optime. Having the server actually perform this computation would avoid the need for it to be done (potentially poorly) client-side. Presumably the most sensible definition of repllag would be {{latest_optime - optime}}, where {{latest_optime}} is the largest {{optime.getTime()}} value of any replset member (that has an optime), but anything that is self-consistent would b

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
Needs Further Definition
Components
Server components related to this issue
Replication
Labels
Tags and classification

No labels assigned.