embedmongo-maven-plugin icon indicating copy to clipboard operation
embedmongo-maven-plugin copied to clipboard

Unable to start mongod process from MongoDB version 4.2 onward

Open g2nconnell opened this issue 3 years ago • 2 comments

The reason is that the command line arg --noprealloc was removed in version 4.2 but, the embedmongo-maven-plugin still generates --noprealloc as an argument. Here's the entry from the command line: [mongod error]Error parsing command line: unrecognised option '--noprealloc'

I have not found a way to not generate this flag. This prevents using embedmongo-maven-plugin with anything over mongoDB versions 4.0.x

g2nconnell avatar Oct 22 '20 17:10 g2nconnell

Hi Glenn. What we really need here is for flapdoodle-oss/de.flapdoodle.embed.mongo#307 to be merged and a new version of that library to be released. Can you add your vote to that issue?

joelittlejohn avatar Oct 23 '20 17:10 joelittlejohn

Thanks for replying. I did as you asked and added comments for both issues over at flapdoodle (#307).

g2nconnell avatar Oct 26 '20 16:10 g2nconnell