-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Tooling & Methods
resmoke.py would echo command it is about to run, as in:
[j0] Starting mongod on port 20000... PATH=/home/sgmongo/Projects/2021/mongo:/data/multiversion:/home/sgmongo/Projects/2021/mongo/build/install/bin:/home/sgmongo/.local/lib/python3-venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/sgmongo/.local/lib/python3-venv/bin:/home/sgmongo/.local/bin:/home/sgmongo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/sgmongo/.dotnet/tools INSTALL_DIR=/home/sgmongo/Projects/2021/mongo/build/install/bin /home/sgmongo/Projects/2021/mongo/build/install/bin/mongod --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={'replication': {'rollback': 2}, 'sharding': {'migration': 2}, 'transaction': 4, 'tenantMigration': 4} --setParameter disableLogicalSessionCacheRefresh=true --setParameter coordinateCommitReturnImmediatelyAfterPersistingDecision=false --setParameter reshardingMinimumOperationDurationMillis=5000 --setParameter transactionLifetimeLimitSeconds=86400 --setParameter maxIndexBuildDrainBatchSize=10 --setParameter testingDiagnosticsEnabled=true --dbpath=/data/db/job0/resmoke --enableMajorityReadConcern=True --port=20000 [j0] mongod started on port 20000 with pid 2300682.
This command can not be copy/pasted to terminal. The issue is that some arguments contain spaces, namely:
-setParameter logComponentVerbosity={'replication': {'rollback': 2}, 'sharding': {'migration': 2}, 'transaction': 4, 'tenantMigration': 4}
I recommend escaping the parameters which have special characters, so that the line can be copied and executed.
- duplicates
-
SERVER-55147 resmoke should shlex.quote() commands before printing them
- Closed
- is duplicated by
-
SERVER-55147 resmoke should shlex.quote() commands before printing them
- Closed