[SERVER-911] mongos proces crash during setShardVersion (solaris) Created: 14/Jan/10  Updated: 03/Apr/10  Resolved: 11/Mar/10

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

Type: Bug Priority: Critical - P2
Reporter: Tomasz Drobiszewski Assignee: Mathias Stearn
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

bash-3.00$ uname -a
SunOS log-engine 5.10 Generic_142901-03 i86pc i386 i86pc

bash-3.00$ mongod --version
db version v1.3.1-, pdfile version 4.5
Thu Jan 14 09:16:17 git version: 51cbeda9d4cd5196553995ccda45d99c67929a29
X24470 1T of data


Participants:

 Description   

Thu Jan 14 09:10:54 Assertion: 10429:setShardVersion failed!
{ lastmod: Timestamp 1263456596000|3, ns: "test.logs05", min:

{ sk: "2009-05-221" }

, max:

{ sk: MaxKey }

, shard: "log-engine.db.dev:27019", _id: ObjId(4b4ed154107b886e64956ba2) }
{ lastmod: Timestamp 1263456654000|2, ns: "test.logs05", min:

{ sk: "2009-05-122" }

, max:

{ sk: "2009-05-122" }

, shard: "log-engine.db.dev:27019", _id: ObjId(4b4ed0cb107b886e64956b9f) }
Thu Jan 14 09:10:54 Assertion: 10429:setShardVersion failed!
ld.so.1: mongos: fatal: relocation error: file /opt/WP/home/mongo1/mongodb-sunos5-x86_64-2010-01-10/bin/mongos: symbol backtrace: referenced symbol not found
Killed



 Comments   
Comment by Eliot Horowitz (Inactive) [ 11/Mar/10 ]

This is really a general solaris build problem.
Working on it in this context SERVER-731

Comment by Tomasz Drobiszewski [ 14/Jan/10 ]

It is kind of an issue there because that shouldn't happen that way.
I have all recomended libs in LD_LIBRARY_PATH
Mongos shouldn't start without its requirements.

Comment by Eliot Horowitz (Inactive) [ 14/Jan/10 ]

do we need to make all solaris builds static?

Comment by Tomasz Drobiszewski [ 14/Jan/10 ]

Reproduction:
mongohome/bin/mongod --port 27030 --dbpath=/home/mongo1/mongodata/config1/ --configsvr
mongohome/bin/mongod --port 27018 --dbpath=/home/mongo1/mongodata/b/ --shardsvr
mongohome/bin/mongod --port 27019 --dbpath=/home/mongo1/mongodata/b/ --shardsvr
mongos --configdb log-engine:27030

bash-3.00$ mongo
MongoDB shell version: 1.3.1-
url: test
connecting to: test
type "help" for help
> use admin
switched to db admin
> db.runCommand(

{ addshard : "log-engine:27019" , allowLocal : true }

)

{ "added" : "log-engine:27019", "ok" : 1 }

> db.runCommand(

{ addshard : "log-engine:27018" , allowLocal : true }

)

{ "added" : "log-engine:27018", "ok" : 1 }

> db.runCommand(

{ enablesharding : "test" }

)

{ "ok" : 1 }

> db.runCommand( { shardcollection : "test.logs05" , key :

{ sk : 1}

} )

{ "collectionsharded" : "test.logs05", "ok" : 1 }

> db.logs05.ensureIndex(

{i:1}

)
> db.logs05.ensureIndex(

{l:1}

)
> db.logs05.ensureIndex(

{s:1}

)

Parallel load:
{
"c":datetime.strptime(login_data[0], "%Y-%m-%d %H:%M:%S"),
"sk": 01,
"l":'login
'i':'127.0.1'
'z':'Z'
's':'127.0.1:12345678:12345567'
}

Generated at Thu Feb 08 02:55:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.