{"__v":0,"_id":"581b766b9c78ac0f005a4bed","category":{"project":"55c6bec1b9aa4e0d0016c2c3","version":"55c6bec1b9aa4e0d0016c2c6","_id":"56f97e9a4c612020008f2eaf","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-28T18:57:30.798Z","from_sync":false,"order":3,"slug":"migrations","title":"Migrations"},"parentDoc":null,"project":"55c6bec1b9aa4e0d0016c2c3","user":"580e5987e1ab393b0076776e","version":{"__v":8,"_id":"55c6bec1b9aa4e0d0016c2c6","project":"55c6bec1b9aa4e0d0016c2c3","createdAt":"2015-08-09T02:45:21.683Z","releaseDate":"2015-08-09T02:45:21.683Z","categories":["55c6bec2b9aa4e0d0016c2c7","56c14bc5826df10d00e82230","56cceed8723ad71d00cae46c","56ccf29a431ada1f00e85aae","56ccf3c28fa8b01b00b82018","56ce1e6ee538330b0021ac5d","56f97e9a4c612020008f2eaf","5734fafd146eb82000597261"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-11-03T17:39:55.508Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"body":"Echo's scheduler can be run completely in-memory. On startup or redeploy, echo will check cron schedules to see if it needs to retroactively execute any missed triggers. This migration only requires configuration changes.\n\n## 1. Disable Cassandra in echo.yml\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"spinnaker:\\n  cassandra:\\n    enabled: false\",\n      \"language\": \"yaml\"\n    }\n  ]\n}\n[/block]\n## 2. Enable In-memory backend in echo.yml\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"spinnaker:\\n  inMemory:\\n    enabled: true\",\n      \"language\": \"yaml\"\n    }\n  ]\n}\n[/block]\n## 3. Enable the scheduler compensation job in echo.yml\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"scheduler:\\n  compensationJob:\\n    enabled: true\\n    windowMs: 1800000 # optional\",\n      \"language\": \"yaml\"\n    }\n  ]\n}\n[/block]\nThe `windowMs` property dictates how far in the past echo will look to find missed schedules. By default this is 30 minutes.\n\n## 4. Deploy new Echo","excerpt":"","slug":"echo-cassandra-to-in-memory","type":"basic","title":"Echo: Cassandra to In-memory"}

Echo: Cassandra to In-memory


Echo's scheduler can be run completely in-memory. On startup or redeploy, echo will check cron schedules to see if it needs to retroactively execute any missed triggers. This migration only requires configuration changes. ## 1. Disable Cassandra in echo.yml [block:code] { "codes": [ { "code": "spinnaker:\n cassandra:\n enabled: false", "language": "yaml" } ] } [/block] ## 2. Enable In-memory backend in echo.yml [block:code] { "codes": [ { "code": "spinnaker:\n inMemory:\n enabled: true", "language": "yaml" } ] } [/block] ## 3. Enable the scheduler compensation job in echo.yml [block:code] { "codes": [ { "code": "scheduler:\n compensationJob:\n enabled: true\n windowMs: 1800000 # optional", "language": "yaml" } ] } [/block] The `windowMs` property dictates how far in the past echo will look to find missed schedules. By default this is 30 minutes. ## 4. Deploy new Echo