[SERVER-28451] API integration tests: logicalTime Created: 23/Mar/17  Updated: 06/Dec/17  Resolved: 19/Apr/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 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, Sharding 2017-05-08
Participants:

 Description   

Validate that logicalTime returned by Sharded Replica Set matches the spec
In a shell validate that

  • mongos that talks to a sharded RS returns logicalTime bson that matches the spec in the command's reply
  • mongos that talks to a non sharded RS does not return logicalTime bson that matches the spec in the command's reply
  • mongos that talks to a standalone MongoDB node does not return logicalTime bson that matches the spec in the command's reply
  • mongod from a sharded RS returns logicalTime bson that matches the spec in the metadata
  • mongod from a non sharded RS does not return logicalTime bson that matches the spec in the metadata
  • mongod from a standalone MongoDB node does not return logicalTime bson that matches the spec in the metadata


 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-28451 API integration test for logicalTime
Branch: master
https://github.com/mongodb/mongo/commit/3483a1c42f9d5f3fd38e671684e9157821cf48df

Comment by Misha Tyulenev [ 07/Apr/17 ]

yeah, that's right. I meant non sharded standalone mongoDB node.

Comment by Randolph Tan [ 07/Apr/17 ]

misha.tyulenev I think mongos will always have LogicalTime since the very first thing it does before talking to any of the shards is contact the config server (to populate the ShardRegistry).

Comment by Misha Tyulenev [ 06/Apr/17 ]

renctan jack.mulrow please lmk the feedback. Note that the mongod checks are temporary (metadata will cease to exist soon) so if its not easy to test than just skip it.

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