I've managed to reproduce this behaviour on v4.2.1 and 4.2.6 (latest).
If a replica set member is started with the database profiler enabled in the configuration it will keep asserting failing to create system.profile collection.
Turning profiling on and off makes the errors cease:
db.setProfilingLevel(0,100); db.setProfilingLevel(1,0);
- is depended on by
-
SERVER-49531 forward port profile.js to master branch
- Closed
- is duplicated by
-
SERVER-48210 create profile collection failed
- Closed