Backward migration in mongodb


To help me in tracking down a bug in (Issue #1919). I need to roll back my test server from 3.10.4 to 3.7.1. Unfortunately when I do this the 3.7.1 server throws a database migration error. “Can’t find migration version 213”.

When look at the migrations table in the database there is only one entry and that is 213.

Has anyone got any ideas on how I get round this one?

Also, are the migration functions (forward/back) in the source tree somewhere. If so where?

Pointers to any information about how migration is implemented in the server would also be appreciated.