[SERVER-21186] Make all CSRS config server inserts retry on NotMaster and network errors Created: 28/Oct/15  Updated: 17/Nov/15  Resolved: 11/Nov/15

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

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding B (10/30/15), Sharding C (11/20/15)
Participants:

 Description   

All inserts to the sharding catalog need to be retried on notMaster and network errors.



 Comments   
Comment by Githook User [ 11/Nov/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-21186 Move update call to be specific to the catalog manager

No functional changes, just preparation for making the updates retriable.
Branch: master
https://github.com/mongodb/mongo/commit/7ab3fcafbcf044bec43eb946b2084ac48ac574b1

Comment by Githook User [ 11/Nov/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-21186 Make catalog manager's inserts retry

Transient NotMaster and network errors should not cause catalog manager's
inserts to fail.
Branch: master
https://github.com/mongodb/mongo/commit/4e7b8bf4f6c42ca2bd5d9658f41dcd401dac3f18

Comment by Githook User [ 11/Nov/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-21186 Make all sharding tests use default verbosity of 1

The default ShardingTest verbosity is currently zero, but we have many
tests, which bump it to 1 and even higher.

Since verbosity level of 0 is sometimes insufficient for investigating
transient failures, this change makes the default to be 1 and removes all
places, which explicitly make it 1 or higher.
Branch: master
https://github.com/mongodb/mongo/commit/706ac9026588f6473f356954069378e9acc1c40a

Comment by Githook User [ 04/Nov/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-21186 All ShardRegistry commands should retry on NotMaster errors
Branch: master
https://github.com/mongodb/mongo/commit/82b59c9a365b9a38bc720fcc2318b2f5446fe921

Comment by Githook User [ 03/Nov/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-21186 Make catalog manager insert virtual
Branch: master
https://github.com/mongodb/mongo/commit/a4bc56e0ed623c46e954e88c4c4cea1356126217

Comment by Githook User [ 03/Nov/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-21186 Make actionLog format the same as changeLog's

Ensures that the action log entries have _id keys as well and unifies the
logging code for sharding operations.
Branch: master
https://github.com/mongodb/mongo/commit/1a450c6e98e5d24af6672fae396408ba88ee0e9c

Comment by Githook User [ 30/Oct/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-21186 Make intial chunk creation use insert and not upsert
Branch: master
https://github.com/mongodb/mongo/commit/2a5352c5420c87bf3a438c30a70bc5bd329af6d1

Comment by Githook User [ 30/Oct/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-21186 Fix chunk version handling in ChunkType

On read, the parsing code was preferring the old 'version' field, which is
not being written since version 2.4 and on write it was writing both the
old 'version' field and the somewhat newer 'lastmod'.

Made it to only look for 'lastmod' and to never write 'version'.
Branch: master
https://github.com/mongodb/mongo/commit/81abe6a2a36c1bbc77463e4c85d8734c9830de98

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