Created
December 17, 2021 15:04
-
-
Save rudolphjacksonm/5a239496864160aac85ab5e3d3baf3b0 to your computer and use it in GitHub Desktop.
CosmosDB Key Rotation Script Output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Beginning key rotation on <account name> | |
Key: primary | |
INFO: Command ran in 213.162 seconds (init: 0.154, invoke: 213.007) | |
Testing connectivity with new primary key... | |
Connecting to: mongodb://<credentials>@ | |
MongoServerError: Invalid key | |
Connection attempt 3 unsuccessful, retrying in 40 seconds... | |
Current Mongosh Log ID: 618b9f15c57e6ca91fc75a8e | |
Connecting to: mongodb://<credentials>@ | |
MongoServerError: Invalid key | |
Connection attempt 4 unsuccessful, retrying in 80 seconds... | |
Current Mongosh Log ID: 618b9f66be73d19af72f0401 | |
Connecting to: mongodb://<credentials>@ | |
Using MongoDB: 3.6.0 | |
Using Mongosh: 1.1.2 | |
For mongosh info see: https://docs.mongodb.com/mongodb-shell/ | |
To help improve our products, anonymous usage data is collected and sent to MongoDB periodically (https://www.mongodb.com/legal/privacy-policy). | |
You can opt-out by running the disableTelemetry() command. | |
{ | |
db: 'test', | |
collections: 0, | |
objects: 0, | |
avgObjSize: 0, | |
dataSize: 0, | |
storageSize: 0, | |
ok: 1 | |
} | |
Successful connection attempts: 1 | |
< ...a while later... > | |
Successful connection attempts: 4 | |
Current Mongosh Log ID: 618b9f72a3a931bcde66502c | |
Connecting to: mongodb://<credentials>@ | |
MongoServerError: Invalid key | |
Connection attempt 9 unsuccessful, retrying in 10 seconds... | |
Current Mongosh Log ID: 618b9f7d64067a16b4e335f6 | |
Connecting to: mongodb://<credentials>@ | |
Using MongoDB: 3.6.0 | |
Using Mongosh: 1.1.2 | |
For mongosh info see: https://docs.mongodb.com/mongodb-shell/ | |
{ | |
db: 'test', | |
collections: 0, | |
objects: 0, | |
avgObjSize: 0, | |
dataSize: 0, | |
storageSize: 0, | |
ok: 1 | |
} | |
Successful connection attempts: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment