[SERVER-10818] Implement compatibility to older servers Created: 19/Sep/13  Updated: 02/Aug/18  Resolved: 13/Nov/13

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

Type: Task Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-10537 Mongos should "downcast" batched writ... Closed
is duplicated by SERVER-10865 Ensure background compatibility of ne... Closed
Related
related to SERVER-11493 Use a specific error code for duplica... Closed
Participants:

 Description   

When talking to an older server that doesn't support write commands, mongos needs to convert writes into GLEs. The controls that were hooked to old write commands should migrate to the new write commands.

+ triggering splits
+ logic for switching batches into writes + gle's
+ logic for detecting when to use the item above
+ Draining the writeback listener
+ isMaster.maxWireVersion and initShardVersion



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

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 config batches with w:0 wc can dassert
Branch: master
https://github.com/mongodb/mongo/commit/787023e2c42bf7e65b1286887243e9177384d0c4

Comment by Githook User [ 13/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 send shardName and version with every batch write request
Branch: master
https://github.com/mongodb/mongo/commit/748093d2e57af5e6e2205546dc31d39a32af123b

Comment by Githook User [ 13/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 use separate write execution path for config server batch writes
Branch: master
https://github.com/mongodb/mongo/commit/d6ed1e86a1ec84cad7bb4980627a8ac034b73aa0

Comment by auto [ 13/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 use separate write execution path for config server batch writes
Branch: master
https://github.com/mongodb/mongo/commit/d6ed1e86a1ec84cad7bb4980627a8ac034b73aa0

Comment by auto [ 12/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 buildbot fix batch write command tests, drop collection state before runnign
Branch: master
https://github.com/mongodb/mongo/commit/613d8b223c9568672b244ee80ae5eb01e191b939

Comment by auto [ 12/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 replace stub error codes with real status codes
Branch: master
https://github.com/mongodb/mongo/commit/70358fafe17252c983eaed5e95bfb70ca24522d3

Comment by auto [ 12/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 jstests for write concern and write commands
Branch: master
https://github.com/mongodb/mongo/commit/d82aeea13e826352932cbfa10c683529e53208bd

Comment by auto [ 12/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 correctly parse errors out of write concern results for batch writes
Branch: master
https://github.com/mongodb/mongo/commit/a0c23d9a57b6af51dee4aa8acbe431c800b484e4

Comment by auto [ 12/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 port mongod qa tests to master
Branch: master
https://github.com/mongodb/mongo/commit/5c6545d9345a85f03d36dbbd91f986d6d5e2f1b9

Comment by auto [ 12/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 reorganize all the write commmand stuff in a folder
Branch: master
https://github.com/mongodb/mongo/commit/93f76a53ba6e6c779604c1bfb0581b69c86a0c4f

Comment by auto [ 11/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 ensure migration TO-side always has a shard name before starting
Branch: master
https://github.com/mongodb/mongo/commit/8826cba78c4b75cb31a21c1f34002d23a611601b

Comment by auto [ 11/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 properly check auth for index write batches
Branch: master
https://github.com/mongodb/mongo/commit/268f85261996bf51781bfce3c5ca6efb07587c22

Comment by auto [ 11/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 correctly enforce targeting for upsert/multi/justOne flags
Branch: master
https://github.com/mongodb/mongo/commit/b358e6f40d6cc8895fef55379b5a0040cf46e6e3

Comment by auto [ 11/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 change targeting logic to support _id-style save()
Branch: master
https://github.com/mongodb/mongo/commit/fae554af51a26a54eed54a5884a1d94a564a5b4b

Comment by auto [ 11/Nov/13 ]

Author:

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

Message: SERVER-10818 allow turning on batch upconversion (useClusterWriteCommands) via smoke.py
Branch: master
https://github.com/mongodb/mongo/commit/fe59d4249bfd65fd05a86203e6de8ab0c0d3a8ef

Comment by auto [ 11/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 push all upconverted writes through same codepath, relax schema for auth failures
Branch: master
https://github.com/mongodb/mongo/commit/be7406205df94a74b25e628e9ec04dd9fab8dacf

Comment by auto [ 11/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 enforce unique indexes on mongod for index write commands
Branch: master
https://github.com/mongodb/mongo/commit/3c707bd5a995776d70cc740a0c7220c5986aacde

Comment by auto [ 08/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 fixes for basic batch downconversion
Branch: master
https://github.com/mongodb/mongo/commit/dd0857bd037487c65b12113f042510b88c08bea4

Comment by auto [ 06/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 valve to upconvert all writes to batch writes in mongos
Branch: master
https://github.com/mongodb/mongo/commit/b79c42855e9c9b8a95a6137b9486f95810d0036d

Comment by auto [ 01/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 changes for system.indexes write ops
Branch: master
https://github.com/mongodb/mongo/commit/46bce060109df1272f10c3cff154a0a74dce450a

Comment by auto [ 01/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 host resolver to handle DBClientRS connections
Branch: master
https://github.com/mongodb/mongo/commit/af91bd74e7ecbd06ecf20136fd7b06f8e8f4a49d

Comment by auto [ 29/Oct/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 basic write batch downconversion utilities
Branch: master
https://github.com/mongodb/mongo/commit/04284234e1a353e68655382b26ef2998bd8f2bdc

Comment by auto [ 25/Oct/13 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-10818 add temporary shim until ssl_options library can be broken out
Branch: master
https://github.com/mongodb/mongo/commit/668bbb03e41da7b1a6d17062c81307e67c7a6d7b

Comment by auto [ 24/Oct/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 remove bad macro from unittest
Branch: master
https://github.com/mongodb/mongo/commit/4061eacd5665b966551227c88cd526b1cfdf4ba9

Comment by auto [ 24/Oct/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10818 basic write batch upconversion utilities
Branch: master
https://github.com/mongodb/mongo/commit/c68386498187d810c7357c01e6f7b88dcbd5d289

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