Closed Bug 656817 Opened 13 years ago Closed 12 years ago

Read-only WebService calls should happen on the slave database

Categories

(Bugzilla :: WebService, enhancement, P2)

4.1.2
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 692507

People

(Reporter: mkanat, Unassigned)

Details

We already know which WebService calls are READ_ONLY, because we limit JSONP calls to those functions. We could easily have the WebService framework itself switch to the slave when calling one of those functions.

The only write thing that READ_ONLY functions may sometimes do is run a login, and that can be handled by making Bugzilla->login do on_master_db { }.
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.