Details
-
Bug
-
Status: Closed
-
Critical - P2
-
Resolution: Gone away
-
3.4.1
-
None
-
None
-
Not Needed
Description
I have sharded cluster with replication and authentication. Config replica set consists of three mongod servers. Each config mongod process is started with command similar to:
/opt/mongodb/bin/mongod \
|
--auth \
|
--port 27017 \
|
--dbpath /data \
|
--keyFile /data/mongodb-keyfile \
|
--replSet cnfrs \
|
--configsvr \
|
--wiredTigerCacheSizeGB 0.25
|
I decided to restore admin database, so I call mongorestore:
/opt/mongodb/bin/mongorestore --drop \
|
--username=root \
|
--password=root \
|
--authenticationDatabase=admin \
|
--host=cnfrs/cnfrs0:27017,cnfrs1:27017,cnfrs2:27017 \
|
--db=admin \
|
--batchSize=1 \
|
/backup-storage/20170125T1600/admin
|
and it failed with message:
2017-01-27T13:55:38.102+0000 the --db and --collection args should only be used when restoring from a BSON file. Other uses are deprecated and not exist in the future; use --nsInclude
|
2017-01-27T13:55:38.102+0000 building a list of collections to restore from /backup-storage/20170125T1600/admin dir
|
2017-01-27T13:55:38.104+0000 restoring users from /backup-storage/20170125T1600/admin/system.users.bson
|
2017-01-27T13:55:39.076+0000 Failed: restore error: error running merge command: Illegal attempt to set operation deadline within DBDirectClient
|
Attachments
Issue Links
- is related to
-
SERVER-29327 Prevent DBDirectClient queries from storing MaxTimeMS on cursors
-
- Closed
-