[SERVER-46262] Multiple definitions of shell utility function "reconnect" Created: 19/Feb/20 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Backlog - Replication Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | former-quick-wins | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Participants: |
| Description |
|
utils.js provides a definition of the "reconnect" function (introduced 2013) which is always available in the mongo shell. rslib.js provides a more complex definition (introduced 2010), which appears to be more robust and full-featured. A shell script that loads rslib.js will replace one definition with the other. Let's settle on one definition, or have different names for the two functions. |