Project

General

Profile

Actions

Optimization #6176

open
JL OD

Multi-tenancy: Tenant selector to tenant ID mapping is o(n)

Optimization #6176: Multi-tenancy: Tenant selector to tenant ID mapping is o(n)

Added by Jeff Lucovsky almost 3 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

With multi-tenancy configured and VLANs chosen as the selector, a linear scan of the vlan/tenant table is used to locate the tenant id.

This is o(n); an o(1) solution would be preferable.

This issue is not specific to VLANs; all tenant selectors are located through a linear scan of the mapping array.

Actions

Also available in: PDF Atom