[SERVER-77106] Bypass tenant_migration_access_blocker::checkIfCanReadOrBlock when not in serverless mode Created: 12/May/23  Updated: 17/May/23  Resolved: 17/May/23

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

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: [DO NOT USE] Backlog - Server Serverless (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-76858 Disable Serverless machinery if serve... Closed
Assigned Teams:
Serverless
Participants:

 Description   

tenant_migration_access_blocker::checkIfCanReadOrBlock is in the hot path for command execution. My understanding is that tenant migrations can only occur in serverless deployments. The tenant_migration_access_blocker::checkIfCanReadOrBlock should early exit and skip taking the lock if not in a serverless configuration.



 Comments   
Comment by Didier Nadeau [ 17/May/23 ]

Thanks for raising this ! We have a very similar ticket that cast a wider net (also disable POS and OpObserver) so I'm closing this as duplicate in favor of SERVER-76858.

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