top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

MongoDB: When is an upgrade finished?

0 votes
188 views

I have been studying the upgrade instructions and this important point is left out.

https://docs.mongodb.com/manual/release-notes/3.2-upgrade/https://docs.mongodb.com/manual/release-notes/3.0-upgrade/https://docs.mongodb.com/manual/release-notes/2.6-upgrade/

I have to do a multi-stage upgrade from 2.4 to 3.2. The instructions for each upgrade stage is a binary-compatible drop-in  upgrade. The instructions say to:Download binaries Shut down your mongod instance Replace the existing binary with the new mongod binaryRestart mongod

What they do not say is how you will know that the upgrade has completed. I think its pretty obvious that you cant do...service mongodb start && service mongodb stop...and then move to the next stage of the upgrade.

How do you know when your upgrade is complete? (I am expecting there to be a terminal command I can use to check on the progress/success.)

posted Oct 31, 2016 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I have a MongoDB 2.6.8 and want to upgrade to 3.2.Sharding is currently running and needs to upgrade with low downtime (Ill be happy if I get Zero downtime)
Please share best standard process/documentation/checklist?

+1 vote

Query description: I have a collection name student_db and added a document in a collection with entries (name: "alok, age : 31 and profession: "xyz"). After inserting the document into student_db database, I want to add another (key:value ) pair i.e. salary: 50000.

Can someone help me out to resolve this problem ?

0 votes

I want compress the data stored in column more efficient, because mydata is timeseries of stock or future price.
Most of them is similar, so I thought I could compress the price data(float, uint64, int) more efficient than zlib,like what infobright do.

Could any one tell me how to compress the column more efficient or could I get the blocks data type when I write the compress plug.

0 votes

While using $inc to decrement a value by some fractional value,ganerated output differs with expected output.

Steps to reproduce:
1.Insert

db.test.insert({"qty":4.464}

    )

2.check results

db.test.find()

3.increment the value with negative fractional value

db.test.update({},{$inc:{"qty":-0.608}})

4.check the output

db.test.find()

Actual Output: "qty" : 3.8560000000000003
Expected Output: "qty" : 3.856

...