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

Arbiter fails when receiving an isMaster command with a $clusterTime

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication, Sharding
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Tested with MongoDB version 3.7.1-60-gb251fd6
      Start a replica set with 2 members and an arbiter, with authentication enabled

      Send an isMaster command with no $clusterTime to the arbiter
      Send a second isMaster command to the arbiter with the $clusterTime that the previous isMaster command returned.

      On 3.6.0 this succeeds. On 3.7.1-60-gb251fd6 it fails.

      Show
      Tested with MongoDB version 3.7.1-60-gb251fd6 Start a replica set with 2 members and an arbiter, with authentication enabled Send an isMaster command with no $clusterTime to the arbiter Send a second isMaster command to the arbiter with the $clusterTime that the previous isMaster command returned. On 3.6.0 this succeeds. On 3.7.1-60-gb251fd6 it fails.
    • Sprint:
      Sharding 2018-02-26, Sharding 2018-03-12

      Description

      An arbiter fails when receiving an isMaster command with a $clusterTime with the following response:

      { 
         "operationTime" : { "$timestamp" : { "t" : 1516663477, "i" : 1 } }, 
         "ok" : 0.0, 
         "errmsg" : "Cache Reader No keys found for HMAC that is valid for time: { ts: Timestamp(1516663477, 1) } with id: 0", 
         "code" : 211, 
         "codeName" : "KeyNotFound", 
         "$clusterTime" : { 
             "clusterTime" : { "$timestamp" : { "t" : 1516663477, "i" : 1 } }, 
             "signature" : { "hash" : { "$binary" : "AAAAAAAAAAAAAAAAAAAAAAAAAAA=", "$type" : "00" }, 
                                    "keyId" : { "$numberLong" : "0" } } }
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              misha.tyulenev Misha Tyulenev
              Reporter:
              jeff.yemin Jeffrey Yemin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: