Are server parameter changes lost on reboot?

If I make a change to a server parameter like wiredTigerConcurrentReadTransactions to the current running server (using adminCommand.setParameter), is that change lost after reboot?

Looking at https://docs.mongodb.com/manual/reference/parameters/ it doesn’t say anything explicitly.

Thanks in advance
Ben

Yes
Add it to config file for making it persistent

“To make persistent add to the Mongo configuration file:”
Above line from this link

Ok thanks. I guess it’s obvious once you know it, but other database technologies I’ve used only have the key parameters needed for boot in the config file, and the rest of the parameters stored in something like the admin db. Maybe I’ll submit an edit to the documention.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.