Created
August 27, 2021 13:32
-
-
Save ianf-mongodb/e6827d1b11720e774745cdf3879c5984 to your computer and use it in GitHub Desktop.
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
mlaunch --replicaset | |
mongosh --port 27017 | |
cfg = rs.conf(); | |
cfg.settings.getLastErrorDefaults = {w : 2, wtimeout: 0} | |
rs.reconfig(cfg) | |
#MongoServerError: Failed to reconfig: Replica set config contains customized getLastErrorDefaults, which has been deprecated and is now ignored. Use setDefaultRWConcern instead to set a cluster-wide default writeConcern. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment