[DOCS-4595] 2.8 sharding upgrade unclear about messages logged when running --upgrade Created: 02/Jan/15  Updated: 14/Jan/15  Resolved: 14/Jan/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.17, mongodb-3.0

Type: Task Priority: Minor - P4
Reporter: Andrew Emil (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 9 years, 5 weeks ago

 Description   

When going through the 2.8 upgrade notes I was somewhat confused when running --upgrade with the mongos. The output that I saw when running that command was a lot more confusing and verbose than I expected. It might be useful to add a short statement clarifying this.

Example output from running --upgrade

 
2015-01-02T10:24:06.111-0500 W SHARDING running with 1 config server should be done only for testing purposes and is not recommended for production
2015-01-02T10:24:06.115-0500 I SHARDING [mongosMain] MongoS version 2.8.0-rc5-pre- starting: pid=2693 port=27017 64-bit host=Andrew-Emil-MacBook-Pro.local (--help for usage)
2015-01-02T10:24:06.115-0500 I CONTROL  [mongosMain] db version v2.8.0-rc5-pre-
2015-01-02T10:24:06.115-0500 I CONTROL  [mongosMain] git version: 3a06b24bc5b09d2a849b61a535a36214ed02bff1
2015-01-02T10:24:06.115-0500 I CONTROL  [mongosMain] build info: Darwin Andrew-Emil-MacBook-Pro.local 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49
2015-01-02T10:24:06.115-0500 I CONTROL  [mongosMain] allocator: system
2015-01-02T10:24:06.115-0500 I CONTROL  [mongosMain] options: { sharding: { configDB: "localhost:27019" }, upgrade: true }
2015-01-02T10:24:06.130-0500 I SHARDING [LockPinger] creating distributed lock ping thread for localhost:27019 and process Andrew-Emil-MacBook-Pro.local:27017:1420212246:16807 (sleeping for 30000ms)
2015-01-02T10:24:06.131-0500 I SHARDING [LockPinger] cluster localhost:27019 pinged successfully at Fri Jan  2 10:24:06 2015 by distributed lock pinger 'localhost:27019/Andrew-Emil-MacBook-Pro.local:27017:1420212246:16807', sleeping for 30000ms
2015-01-02T10:24:06.131-0500 I SHARDING [mongosMain] distributed lock 'configUpgrade/Andrew-Emil-MacBook-Pro.local:27017:1420212246:16807' acquired, ts : 54a6b81658f4383d3c7151de
2015-01-02T10:24:06.132-0500 I SHARDING [mongosMain] starting upgrade of config server from v5 to v6
2015-01-02T10:24:06.132-0500 I SHARDING [mongosMain] starting next upgrade step from v5 to v6
2015-01-02T10:24:06.132-0500 I SHARDING [mongosMain] about to log new metadata event: { _id: "Andrew-Emil-MacBook-Pro.local-2015-01-02T15:24:06-54a6b81658f4383d3c7151df", server: "Andrew-Emil-MacBook-Pro.local", clientAddr: "N/A", time: new Date(1420212246132), what: "starting upgrade of config database", ns: "config.version", details: { from: 5, to: 6 } }
2015-01-02T10:24:06.140-0500 I SHARDING [mongosMain] checking that version of host localhost:27017 is compatible with 2.6
2015-01-02T10:24:06.141-0500 I SHARDING [mongosMain] checking that version of host localhost:27018 is compatible with 2.6
2015-01-02T10:24:06.141-0500 I SHARDING [mongosMain] checking that version of host localhost:27019 is compatible with 2.6
2015-01-02T10:24:06.147-0500 I SHARDING [mongosMain] about to log new metadata event: { _id: "Andrew-Emil-MacBook-Pro.local-2015-01-02T15:24:06-54a6b81658f4383d3c7151e0", server: "Andrew-Emil-MacBook-Pro.local", clientAddr: "N/A", time: new Date(1420212246147), what: "finished upgrade of config database", ns: "config.version", details: { from: 5, to: 6 } }
2015-01-02T10:24:06.151-0500 I SHARDING [mongosMain] upgrade of config server to v6 successful
2015-01-02T10:24:06.152-0500 I SHARDING [mongosMain] distributed lock 'configUpgrade/Andrew-Emil-MacBook-Pro.local:27017:1420212246:16807' unlocked.
2015-01-02T10:24:06.152-0500 I -        [mongosMain] Config database is at version v6



 Comments   
Comment by Githook User [ 14/Jan/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-4595 mongos --upgrade process log messages
Branch: master
https://github.com/mongodb/docs/commit/5baf224594ed4a361fc2c0a01f7d33d454454bcc

Generated at Thu Feb 08 07:48:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.