Currently we depend on sameConfigContents to determine whether we need to check isSelf for a reconfig. This function only ignores the 'version' and 'term' fields of the config. However, there are other cases (e.g. removing the newlyAdded field for a node) where checking isSelf is not necessary. This ticket is to come up with a more precise condition for when isSelf check is necessary for a reconfig and to eliminate unnecessary isSelf calls.
- related to
-
SERVER-66050 findSelfInConfig should attempt fast path for every HostAndPort before trying slow path
- Closed