Backend should provide two ldap connections - read and read/write

VERIFIED FIXED

Status

Participation Infrastructure
Phonebook
--
major
VERIFIED FIXED
7 years ago
6 years ago

People

(Reporter: ozten, Assigned: ozten)

Tracking

Details

(Whiteboard: [ldap][qa-])

(Assignee)

Description

7 years ago
Per jabba, We should have to sets of connection information.
One is for the master (read/write) and the other is for slaves (read only).

Backend code should use slave for all read operations. The directory will be replicated in a WEB SCALE fashion.
(Assignee)

Updated

7 years ago
Assignee: nobody → ozten.bugs
Severity: normal → major
OS: Linux → All
Hardware: x86 → All
Whiteboard: [ldap]
(Assignee)

Comment 1

7 years ago
Added the following configuration (and wired it up):

#### OpenLDAP ####
# Read/Write Master slapd
LDAP_SYNC_PROVIDER_URI = "ldap://localhost:1389"
# Read only mirror or load balancer
LDAP_SYNC_CONSUMER_URI = LDAP_SYNC_PROVIDER_URI

So to add a read only slave or read only load balancer, set consumer uri to a different server.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Closing as qa-
Status: RESOLVED → VERIFIED
Whiteboard: [ldap] → [ldap][qa-]

Updated

6 years ago
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Version: unspecified → other
You need to log in before you can comment on or make changes to this bug.