Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

We have a replica set with 2 members and one arbiter in production. 10gen documentation states that 2.0 to 2.2 is a binary-compatible “drop-in" upgrade and so it's 2.2 to 2.4. Is it safe to upgrade from the 2.0 version directly to the 2.4 version?

This question was posted on stackoverflow and closed as offtopic. It was suggested to me that I try to ask it here.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

In general, yes, you can do this, the 2.4 binaries can be used as drop in replacements. However, there are exceptions. In sharded clusters for example, you have to make sure to do the meta data upgrade

Essentially, the caveats are all really deployment and feature (authentication), not version based. Basically make sure to read the notes here:

http://docs.mongodb.org/manual/release-notes/2.4-upgrade/

share|improve this answer
    
I have read the upgrade notes for 2.2. and for 2.4, but there is no concrete info about updating from 2.0 to 2.4 - just for 2.2 to 2.4. I will do some more testing on our staging machines before rolling the upgrade to production. Thanks. –  Christian P Apr 26 '13 at 7:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.