Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-80753

Modify runCheckOnReplSet to call isMaster on admin

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-10-02

      run_check_repl_oplog.js is a hook called from resmoke with a function runCheckOnReplSet that calls db.isMaster().  In a serverless environment, if the featureFlagRequireTenantID is set we need a tenantId to pass into the command (if not issued against admin, local, or config), and we should either use $tenant or be creating a security token connection in order to query with a tenantId.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: