[SERVER-10521] Create all types involved in implementing the commands Created: 15/Aug/13  Updated: 02/Aug/18  Resolved: 11/Oct/13

Status: Closed
Project: Core Server
Component/s: Sharding, Write Ops
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Task Priority: Major - P3
Reporter: Alberto Lerner Assignee: Gregory McKeon (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

We'd like to use "types" for all message format involved in the commands.

New expected types:
+ sharded insert op
+ sharded update op
+ sharded delete op

There should be a common base type for these so they can all be serialize/deserialize in the same way



 Comments   
Comment by auto [ 25/Oct/13 ]

Author:

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

Message: SERVER-10521 kill test until mongod stable
Branch: master
https://github.com/mongodb/mongo/commit/1429bc8a91004e120866bdc6fccb007a7d0f10fc

Comment by auto [ 25/Oct/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10521 Implement v0.5 version of write commands protocol (lint fix)
Branch: master
https://github.com/mongodb/mongo/commit/5ab631f4f4e64d8c336474f42d61a87d547804ef

Comment by auto [ 25/Oct/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10521 Implement v0.5 version of write commands protocol

The follow changes were made:

  • 'ok's type is now the same as getlasterror's
  • 'errMsg' is now 'errmsg', again, for getlasterror's compatibility
  • 'ordered's default is now true; the field is optional
  • 'writeConcern' is now optional (same as before, default {w:1}

    )

  • introduced an 'upserted' field with the _id of upserted documents
  • 'multi' and 'upsert' are optional and default to false
    Branch: master
    https://github.com/mongodb/mongo/commit/41633fff781a94fdac26895a55b5741a035d9c81
Comment by auto [ 11/Oct/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10521 Fix batched_command_response_test
Branch: master
https://github.com/mongodb/mongo/commit/7555171ac736cd06c59fd5ebd958041d55c8420e

Comment by auto [ 12/Sep/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10521 Adjust spacing for proper linting.
Branch: master
https://github.com/mongodb/mongo/commit/b7565690f4f3e40df4d959cfcac095d7d85b7a48

Comment by auto [ 12/Sep/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10521 Types for write commands.
Branch: master
https://github.com/mongodb/mongo/commit/e82786a9f03cb18e924f72f787e184740576111b

Comment by auto [ 19/Aug/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10521 Introduce serializing/deserializing interface for types.
Branch: master
https://github.com/mongodb/mongo/commit/68ba556626b05cfe6e32c883c3ca34fbdff5661f

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