Use getInternalScopedDbConnection in all places that do "internal" operations, even if they're not using commands.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.2.0-rc0
    • Component/s: Security, Sharding
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Not actually tried, but we should check if this works (Note that we need to add admin users in the config databases to simulate remote access in an auth environment when testing).

      Suspicious code in ConfigServer::replicaSetChange:

      scoped_ptr<ScopedDbConnection> conn( ScopedDbConnection::getScopedDbConnection(
                          configServer.getConnectionString().toString(), 30.0 ) );
      

      Shouldn't this be using getInternalScopedDbConnection instead?

            Assignee:
            Spencer Brody (Inactive)
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: