Project

General

Profile

Actions

Bug #6176

open

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

Added by Jeff Lucovsky 10 months ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Affected Versions:
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 #1

Updated by Jeff Lucovsky 10 months ago

  • Subject changed from Multi-tenancy: VLAN to tenant ID o(n) to Multi-tenancy: VLAN to tenant ID mapping is o(n)
Actions #2

Updated by Jeff Lucovsky 10 months ago

  • Description updated (diff)
Actions #3

Updated by Jeff Lucovsky 10 months ago

  • Subject changed from Multi-tenancy: VLAN to tenant ID mapping is o(n) to Multi-tenancy: Tenant selector to tenant ID mapping is o(n)
  • Description updated (diff)
Actions

Also available in: Atom PDF