Hi @shirisha_medi

Please take care to format code and log samples correctly when posting:

The error is likely due to a previous incomplete upgrade from 3.6 to 4.0.

Rollback the mongodb binaries to 4.0 and complete the upgrade.

Enable backwards-incompatible 4.0 features: