Skip to content

Unable to start mongod process from MongoDB version 4.2 onward #86

Open
@g2nconnell

Description

@g2nconnell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions