[SERVER-80377] Some database names are too long for multitenancy passthrough suites Created: 24/Aug/23  Updated: 29/Oct/23  Resolved: 25/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Matt Broadstone Assignee: Matt Broadstone
Resolution: Fixed Votes: 0
Labels: auto-reverted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Server Serverless 2023-09-04
Participants:
Linked BF Score: 170

 Description   

Some jscore tests use jsTestName() as their database name, and occasionally add additional text to that string. These strings are too long for multitenancy suites which will prefix the database name with a tenant id (24 characters of hex and one underscore). Instead of giving these tests a hand-written smaller name, we should consider a solution which solves this programmatically and is as future-proof as possible.



 Comments   
Comment by Githook User [ 25/Aug/23 ]

Author:

{'name': 'Matt Broadstone', 'email': 'mbroadst@mongodb.com', 'username': 'mbroadst'}

Message: SERVER-80377 Use hashed jsTestName in multitenancy suites
Branch: master
https://github.com/mongodb/mongo/commit/c8778bfa3b21e9f6c6ac125ca48b816dc1994bf0

Comment by xgen-buildbaron-user [ 25/Aug/23 ]

Ticket re-opened due to revert. cqf_experimental_no_passthrough began a consistent failure of jstests/noPassthrough/aggregation_zero_batchsize.js

Comment by Githook User [ 25/Aug/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-80377 Use hashed jsTestName in multitenancy suites"

This reverts commit c910ba4efc8797fb6c05aabdbb0220f75c603726.
Branch: master
https://github.com/mongodb/mongo/commit/a6eff908d1e41580659e29602d3acc45e1275cec

Comment by Githook User [ 24/Aug/23 ]

Author:

{'name': 'Matt Broadstone', 'email': 'mbroadst@mongodb.com', 'username': 'mbroadst'}

Message: SERVER-80377 Use hashed jsTestName in multitenancy suites
Branch: master
https://github.com/mongodb/mongo/commit/c910ba4efc8797fb6c05aabdbb0220f75c603726

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