[SERVER-10861] upgrade of mongos version (2.5.1 -> 2.5.3-pre) Broken Created: 24/Sep/13  Updated: 11/Jul/16  Resolved: 15/Oct/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.5.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Norberto Fernando Rocha Leite (Inactive) Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

testing


Issue Links:
Duplicate
is duplicated by SERVER-8678 Implement automated config schema upg... Closed
Related
is related to SERVER-8678 Implement automated config schema upg... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:
  • Start shard cluster
    • 2 replicas 1 node each - version 2.5.3-pre
    • 1 config server - version 2.5.3-pre
    • 1 mongos - version 2.5.1
  • Upgrade mongos version
    • stop balancer
    • stop mongos
    • restart mongos with --upgrade option
Participants:

 Description   

Performing some testing with the new version and the --upgrade I got the following logged problem:

2013-09-24T10:49:48.574+0200 [mongosMain] MongoS version 2.5.3-pre- starting: pid=16067 port=27017 64-bit host=nair.local (--help for usage)
2013-09-24T10:49:48.574+0200 [mongosMain] git version: b93111964cb247d636ebdb0dd92f9709287eaa8c
2013-09-24T10:49:48.574+0200 [mongosMain] build info: Darwin nair.local 12.5.0 Darwin Kernel Version 12.5.0: Mon Jul 29 16:33:49 PDT 2013; root:xnu-2050.48.11~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49
2013-09-24T10:49:48.575+0200 [mongosMain] options: { configdb: "nair.local:20003", fork: true, logpath: "/tmp/shard/mongos.log", upgrade: true }
2013-09-24T10:49:48.597+0200 [LockPinger] creating distributed lock ping thread for nair.local:20003 and process nair.local:27017:1380012588:16807 (sleeping for 30000ms)
2013-09-24T10:49:48.598+0200 [mongosMain] distributed lock 'configUpgrade/nair.local:27017:1380012588:16807' acquired, ts : 5241522c8395b0943485a723
2013-09-24T10:49:48.599+0200 [mongosMain] starting upgrade of config server from v4 to v5
2013-09-24T10:49:48.599+0200 [mongosMain] starting next upgrade step from v4 to v5
2013-09-24T10:49:48.599+0200 [mongosMain] about to log new metadata event: { _id: "nair.local-2013-09-24T08:49:48-5241522c8395b0943485a724", server: "nair.local", clientAddr: "N/A", time: new Date(1380012588599), what: "starting upgrade of config database", ns: "config.version", details: { from: 4, to: 5 } }
2013-09-24T10:49:48.600+0200 [mongosMain] Assertion failure lastVersionInfo.getCurrentVersion() == UpgradeHistory_StrictEpochVersion src/mongo/s/config_upgrade_v4_to_v5.cpp 60
2013-09-24T10:49:48.603+0200 [mongosMain] 0x1044d1c5b 0x10449d622 0x10448c5b2 0x1043f501a 0x1043ee812 0x1043eb441 0x1043edf7d 0x1041825c0 0x104182e69 0x7fff8c4b27e1 0x7
 0   mongos                              0x00000001044d1c5b _ZN5mongo15printStackTraceERSo + 43
 1   mongos                              0x000000010449d622 _ZN5mongo10logContextEPKc + 114
 2   mongos                              0x000000010448c5b2 _ZN5mongo12verifyFailedEPKcS1_j + 274
 3   mongos                              0x00000001043f501a _ZN5mongo15doUpgradeV4ToV5ERKNS_16ConnectionStringERKNS_11VersionTypeEPSs + 74
 4   mongos                              0x00000001043ee812 _ZN5boost6detail8function17function_invoker3IPFbRKN5mongo16ConnectionStringERKNS3_11VersionTypeEPSsEbS6_S9_SA_E6invokeERNS1_15function_bufferES6_S9_SA_ + 18
 5   mongos                              0x00000001043eb441 _ZN5mongo12_nextUpgradeERKNS_16ConnectionStringERKSt3mapIiNS_7UpgradeESt4lessIiESaISt4pairIKiS4_EEERKNS_11VersionTypeEPSE_PSs + 2241
 6   mongos                              0x00000001043edf7d _ZN5mongo28checkAndUpgradeConfigVersionERKNS_16ConnectionStringEbPNS_11VersionTypeES4_PSs + 4765
 7   mongos                              0x00000001041825c0 _Z10mongoSMainiPPcS0_ + 1984
 8   mongos                              0x0000000104182e69 main + 9
 9   libdyld.dylib                       0x00007fff8c4b27e1 start + 0
 10  ???                                 0x0000000000000007 0x0 + 7
2013-09-24T10:49:48.604+0200 [mongosMain] distributed lock 'configUpgrade/nair.local:27017:1380012588:16807' unlocked.

N.


Generated at Thu Feb 08 03:24:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.