[SERVER-27641] views_coll_stats.js should use its own database Created: 11/Jan/17  Updated: 05/Apr/17  Resolved: 20/Jan/17

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

Type: Bug Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kyle Suarez
Resolution: Done Votes: 0
Labels: read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-27421 Parallel test suites should pick up t... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2017-01-23
Participants:
Linked BF Score: 0

 Description   

In SERVER-27421, the views tests were picked up by the parallel tester to be run in parallel. views_coll_stats.js uses the "views_stats" database, which is also used by views_stats.js. Unfortunately, both of these tests drop and recreate the database several times, which means that there's a chance they'll interfere with each other in a parallel test run.

views_coll_stats.js should just use its own unique database.



 Comments   
Comment by Githook User [ 20/Jan/17 ]

Author:

{u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'}

Message: SERVER-27641 use a unique name in views tests instead of jsTest.name()
Branch: master
https://github.com/mongodb/mongo/commit/a25baa98c2ba51b1bd10a39538911b43be4db64f

Comment by Kyle Suarez [ 20/Jan/17 ]

Reopening this issue because max.hirschhorn noticed that jsTest.name() will be "basic" or "basicPlus" when running in the parallel suite, which is not what we want

Comment by Githook User [ 11/Jan/17 ]

Author:

{u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'}

Message: SERVER-27641 views_coll_stats.js must use its own database
Branch: master
https://github.com/mongodb/mongo/commit/f15f85da6b210c919dd76fd02d2d44ee3f2ca1b1

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