[SERVER-22297] Add targeted jstests for csrs upgrade during common operations Created: 25/Jan/16  Updated: 25/Jan/17  Resolved: 17/Feb/16

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

Type: Improvement Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: csrsupgrade, test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-22542 Add jstest that runs csrs upgrade und... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding F (01/29/16), Sharding 10 (02/19/16)
Participants:

 Description   

Take the existing csrs_during_migrate.js test and make it generic, then using that infrastructure write tests of csrs upgrade during:

  • CRUD
  • findAndModify
  • mapReduce
  • aggregate
  • count
  • distinct
  • group


 Comments   
Comment by Githook User [ 17/Feb/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-22297 More CSRS upgrade tests during

{agg,count,distinct,group}

Branch: v3.2
https://github.com/mongodb/mongo/commit/ed0b22a82dac9e1669215955155510f23c2268db

Comment by Githook User [ 17/Feb/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-22297 Add more targetted jstests for csrs upgrade during crud and map reduce
Branch: v3.2
https://github.com/mongodb/mongo/commit/7d677f9de28bfd177550f4be60d585f1934444b6

Comment by Githook User [ 17/Feb/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-22297 Add framework for writing tests that perform CSRS upgrade, convert existing tests to use it

(cherry picked from commit a818421d4f60b61ef81830af396deb1a3bb998de)
Branch: v3.2
https://github.com/mongodb/mongo/commit/02934edad8283deaa52e68ef2ae6855c8f5e639c

Comment by Spencer Brody (Inactive) [ 04/Feb/16 ]

Can't actually test csrs upgrade during collection and database creation and deletion since there is a time during the upgrade process where the config servers are read-only and thus all catalog operations will fail.

Comment by Githook User [ 04/Feb/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-22297 Add framework for writing tests that perform CSRS upgrade, convert existing tests to use it
Branch: master
https://github.com/mongodb/mongo/commit/a818421d4f60b61ef81830af396deb1a3bb998de

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