[SERVER-4324] new checking of initial shard version catches stale replica set info Created: 18/Nov/11  Updated: 11/Jul/16  Resolved: 22/Nov/11

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.0.2
Fix Version/s: 2.0.2, 2.1.0

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File replica_set_shard_version.js    
Operating System: ALL
Participants:

 Description   

It's possible for a new connection to mongos to be bounced back because the mongos isn't up-to-date on replica set state, due to the new checking of the initial sharding command.



 Comments   
Comment by auto [ 21/Nov/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: track initialization of conns SERVER-4324
Branch: v2.0
https://github.com/mongodb/mongo/commit/bc22bd44871ff4d7ab6ff406f341e8e86d039e2f

Comment by auto [ 21/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: ignore sharding state on secondaries consistently SERVER-4324
Branch: v2.0
https://github.com/mongodb/mongo/commit/d69d52ceef293c7888eb9c507dacf40a48b8abe0

Comment by auto [ 21/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: ignore sharding state on secondaries consistently SERVER-4324
Branch: master
https://github.com/mongodb/mongo/commit/9a5b9cf2fa4262439d98abe26ee32e1f321a446b

Comment by Eliot Horowitz (Inactive) [ 21/Nov/11 ]

@amare - yes

Comment by A Mare [ 21/Nov/11 ]

Is this the reason why 2.0.2 was not actually released (tagged)?
Thanks.

Comment by auto [ 21/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: handle non-sharded query not master errors SERVER-4324
Branch: v2.0
https://github.com/mongodb/mongo/commit/c0588190d401824422ca6c9a0c9744cfcb62e9a1

Comment by auto [ 21/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: test for SERVER-4324
Branch: v2.0
https://github.com/mongodb/mongo/commit/415486ce5cdc82ab1f8b2f8db92a197535e31d61

Comment by auto [ 21/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: when we get a "not master" error on a command, check for new primary SERVER-4324
Branch: v2.0
https://github.com/mongodb/mongo/commit/f48ecaa2c6deceff2df9b8b0d7d266d9ae5b3aef

Comment by auto [ 21/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: handle non-sharded query not master errors SERVER-4324
Branch: master
https://github.com/mongodb/mongo/commit/baa9fef42ef04f6cfad0e7608f7c6636e46a0ed3

Comment by auto [ 20/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: test for SERVER-4324
Branch: master
https://github.com/mongodb/mongo/commit/6b7bbe84e4b1607397263ad5415081f23be87fc5

Comment by auto [ 20/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: when we get a "not master" error on a command, check for new primary SERVER-4324
Branch: master
https://github.com/mongodb/mongo/commit/3039d9b7813bb66f01b71d10bd91347d7e9c8433

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