[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: |
|
||||||||
| 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 |