Generate crontab to push data from the downed node db to the memcache constants

RESOLVED FIXED

Status

Cloud Services
Server: Other
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: telliott, Assigned: telliott)

Tracking

({push-needed})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

7 years ago
We need to get the data from the reg service to the sync service. A cron that runs every minute or so and sets a value in memcache seems like the cleanest way.
(Assignee)

Comment 1

7 years ago
Created attachment 483277 [details]
Script to pull data from the admin API and populate memcache
Attachment #483277 - Flags: review?(rsoderberg)
(Assignee)

Comment 2

7 years ago
Created attachment 488301 [details]
Populates memcache using the node api

requires a constant added to the default_constants.php file on the system: 

#Admin API
if (!defined('WEAVE_NODE_API_ENTRYPOINT')) { define('WEAVE_NODE_API_ENTRYPOINT', 'http://localhost/admindb'); }
Attachment #483277 - Attachment is obsolete: true
Attachment #483277 - Flags: review?(rsoderberg)
(Assignee)

Updated

7 years ago
Attachment #488301 - Flags: review?(rsoderberg)
Comment on attachment 488301 [details]
Populates memcache using the node api

seems reasonable to me
Attachment #488301 - Flags: review?(rsoderberg) → review+
(Assignee)

Comment 4

7 years ago
Checked in at 

http://hg.mozilla.org/services/admin-scripts/rev/aa55dcd487b6

Not deployable until we have the node api up and running.
Keywords: push-needed
(Assignee)

Updated

7 years ago
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Updated

7 years ago
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.