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

Arbiter fails when receiving an isMaster command with a $clusterTime

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Replication, Sharding
    • None
    • ALL
    • 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.
    • 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

              misha.tyulenev@mongodb.com Misha Tyulenev
              jeff.yemin@mongodb.com Jeffrey Yemin
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: