Closed Bug 719924 Opened 12 years ago Closed 12 years ago

fix loading of host-specific config

Categories

(Cloud Services Graveyard :: Server: Sync, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rfkelly, Unassigned)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

The host-specific loading of storage config introduced in Bug 681768 is broken.  It treats the entire setting name as a hostname rather than extracting just the host portion.  So given a config like this:

    [host:some-test-host]
    storage.sqluri = sqlite:////tmp/some-test-host.db

It will create a host-specific config for "some-test-host.storage.sqluri" rather than "some-test-host".

Attached patch fixes it to strip the name of the setting.
Attachment #590271 - Flags: review?(rmiller)
Comment on attachment 590271 [details] [diff] [review]
patch fixing host-specific config loading

Review of attachment 590271 [details] [diff] [review]:
-----------------------------------------------------------------

whoops! thx.
Attachment #590271 - Flags: review?(rmiller) → review+
Thanks, committed in http://hg.mozilla.org/services/server-storage/rev/960aefce3f00
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: