, free & fully virtual. June 9th - 10th. Register Now

Error while converting a Cluster into a Replica Set

We followed the instructions to Convert a Cluster with a Single Shard into a Replica Set but as soon as we restarted the first Secondary (of a total of 3 secondaries + 1 primary) without the --shardsvr option, all database clients (which are connecting already directly to the replSet without problems instead to the mongoS routers) received the following error while querying the database:

Query failed with error code 211 and error message 'Cache Reader No keys found for HMAC that is valid for time: { ts: Timestamp(1585205456, 422) } with id: 6802955028354040016' on server

Therefore, we have immediately reversed the change.
This error makes it impossible for us to convert the single-shard cluster into a standalone replSet.
How to proceed?

1 Like