Closed
Bug 757942
Opened 12 years ago
Closed 12 years ago
[crontabber] Back up and initial-read from postgres instead of just file system
Categories
(Socorro :: General, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Unassigned)
Details
The current JSONDatabase needs to become smarter https://github.com/mozilla/socorro/blob/master/socorro/cron/crontabber.py#L144 If no crontabber.json file exists, it can read from postgres instead (e.g. automatic restore) and every time it saves, it can send the JSON dump over to postgres. * Josh needs to set up a table (and decide on what user to connect as) * The configuration of this needs to be configman configured so we can keep the current JSONJobDatabase and add a fancy one that you can swap in.
Reporter | ||
Comment 1•12 years ago
|
||
From: Josh http://mozilla.privatepaste.com/c146d3a99b
Reporter | ||
Comment 2•12 years ago
|
||
Pull request here: https://github.com/mozilla/socorro/pull/613
Comment 3•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/0462dced97e9422ad1f3f63078b2c4e6a7b4edaf bug757942 - crontabber that uses postgres as a backup, r=rhelmer
Comment 4•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/54c803a123d3058742ed838547925eb8cd2a3561 bug757942 - more defensive integration test suite https://github.com/mozilla/socorro/commit/5b65fd4c43c2be7cb4094d1261c39359e32c378c Merge pull request #620 from peterbe/bug757942-bustage-test-setup bug757942 - more defensive integration test suite
Comment 5•12 years ago
|
||
Commits pushed to stage at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/0462dced97e9422ad1f3f63078b2c4e6a7b4edaf bug757942 - crontabber that uses postgres as a backup, r=rhelmer https://github.com/mozilla/socorro/commit/54c803a123d3058742ed838547925eb8cd2a3561 bug757942 - more defensive integration test suite https://github.com/mozilla/socorro/commit/5b65fd4c43c2be7cb4094d1261c39359e32c378c Merge pull request #620 from peterbe/bug757942-bustage-test-setup
Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
Commits pushed to stage at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/6123c28d6a3437ae66c519447b4c59e852fe0a08 bug757942 - crontabber that uses postgres as a backup, r=rhelmer https://github.com/mozilla/socorro/commit/05f4b0cb0852386289e67368a43f71f64ab9e629 bug757942 - more defensive integration test suite
Comment 7•12 years ago
|
||
Commits pushed to admin-refactor at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/0462dced97e9422ad1f3f63078b2c4e6a7b4edaf bug757942 - crontabber that uses postgres as a backup, r=rhelmer https://github.com/mozilla/socorro/commit/54c803a123d3058742ed838547925eb8cd2a3561 bug757942 - more defensive integration test suite https://github.com/mozilla/socorro/commit/5b65fd4c43c2be7cb4094d1261c39359e32c378c Merge pull request #620 from peterbe/bug757942-bustage-test-setup
Comment 8•12 years ago
|
||
Commits pushed to stage at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/2fc37a42da112140a81096157321fff468b6c26c bug757942 - crontabber that uses postgres as a backup, r=rhelmer https://github.com/mozilla/socorro/commit/3f757efa17b2b06569cd3a73c018902eba8936e6 bug757942 - more defensive integration test suite
Comment 9•12 years ago
|
||
Commits pushed to https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/2fc37a42da112140a81096157321fff468b6c26c bug757942 - crontabber that uses postgres as a backup, r=rhelmer https://github.com/mozilla/socorro/commit/3f757efa17b2b06569cd3a73c018902eba8936e6 bug757942 - more defensive integration test suite
You need to log in
before you can comment on or make changes to this bug.
Description
•