[SERVER-28452] API integration tests: operationTime Created: 23/Mar/17  Updated: 06/Dec/17  Resolved: 12/Apr/17

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

Type: Task Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Jack Mulrow
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-04-17
Participants:

 Description   

Validate that operationTime returned by
Sharded or unsharded Replica Set matches the spec.

In a shell validate that

  • mongos that talks to a sharded RS returns operationTime that is a Timestamp
  • mongos that talks to a non sharded RS returns operationTime that is a Timestamp
  • mongos that talks to a standalone DB does not return operationTime
  • mongod from a sharded RS returns operationTime that is a Timestamp
  • mongod from a non sharded RS returns operationTime that is a Timestamp
  • mongod from a standalone DB does not return operationTime


 Comments   
Comment by Githook User [ 19/Apr/17 ]

Author:

{u'username': u'jsmulrow', u'name': u'Jack Mulrow', u'email': u'jack.mulrow@mongodb.com'}

Message: SERVER-28452 clearer error messages and "use strict" in operation_time_api.js
Branch: master
https://github.com/mongodb/mongo/commit/848ec6b397a2c637f7edc7b417cec635af43f148

Comment by Githook User [ 12/Apr/17 ]

Author:

{u'username': u'jsmulrow', u'name': u'Jack Mulrow', u'email': u'jack.mulrow@mongodb.com'}

Message: SERVER-28452 API integration test for operationTime
Branch: master
https://github.com/mongodb/mongo/commit/56b8f03ca7c0c6a315a30a7a41bd781540dedde8

Comment by Randolph Tan [ 06/Apr/17 ]

Looks good to me. I'm not sure what the right behavior is for mongos with standalone shards (especially if the other shards are RS). I think we're going to disallow standalone shards in the next release, so we might not need to worry about it too much.

Comment by Misha Tyulenev [ 06/Apr/17 ]

renctan jack.mulrow please lmk the feedback.

Generated at Thu Feb 08 04:18:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.