Hi @Robin_Hermanek,
I just realised rollbackTimeLimitSecs is a MongoDB Server Parameter. not a distinct command-line option.
You need to set this value using setParameter which can be done:
-
At runtime:
db.adminCommand( { setParameter: 1, rollbackTimeLimitSecs:86400 } ) -
Via the
--setParametercommand-line option:mongod --setParameter rollbackTimeLimitSecs=86400 ...
- Via the
setParametersetting in amongodconfiguration file:
setParameter:
rollbackTimeLimitSecs: 86400
You can use the getParameter command to check the current value:
db.adminCommand({ getParameter: 1, rollbackTimeLimitSecs:1})
Regards,
Stennie