From 7064e397955f315db2469cfabb4e0ddbb909defe Mon Sep 17 00:00:00 2001 From: Peter DeMartini Date: Fri, 14 Dec 2018 12:59:47 -0700 Subject: [PATCH] v0.45.1 fix execution stop error (#929) * Fix Exception on job stop, resolves #926 * Bump teraslice to 0.45.1 --- package.json | 2 +- .../lib/workers/execution-controller/scheduler.js | 2 -- packages/teraslice/package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 80ae95e8cf7..4f00a29324f 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "publish:changed": "./scripts/publish.sh" }, "dependencies": { - "@types/bluebird": "^3.5.24", + "@types/bluebird": "^3.5.25", "@types/convict": "^4.2.1", "@types/debug": "^0.0.31", "@types/fs-extra": "^5.0.4", diff --git a/packages/teraslice/lib/workers/execution-controller/scheduler.js b/packages/teraslice/lib/workers/execution-controller/scheduler.js index b12286f4b06..fa59d15aeef 100644 --- a/packages/teraslice/lib/workers/execution-controller/scheduler.js +++ b/packages/teraslice/lib/workers/execution-controller/scheduler.js @@ -174,8 +174,6 @@ class Scheduler { this.queue.each((slice) => { this.queue.remove(slice.slice_id, 'slice_id'); }); - - this.stateStore = null; } getSlices(limit = 1) { diff --git a/packages/teraslice/package.json b/packages/teraslice/package.json index 56524f6fc82..6ef42034766 100644 --- a/packages/teraslice/package.json +++ b/packages/teraslice/package.json @@ -1,6 +1,6 @@ { "name": "teraslice", - "version": "0.45.0", + "version": "0.45.1", "description": "Slice and dice your Elasticsearch data", "bin": "service.js", "main": "index.js", diff --git a/yarn.lock b/yarn.lock index 89340e53e99..bcf7997a349 100644 --- a/yarn.lock +++ b/yarn.lock @@ -652,10 +652,10 @@ multi-progress "^2.0.0" superagent "^3.8.3" -"@types/bluebird@^3.5.24": - version "3.5.24" - resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.24.tgz#11f76812531c14f793b8ecbf1de96f672905de8a" - integrity sha512-YeQoDpq4Lm8ppSBqAnAeF/xy1cYp/dMTif2JFcvmAbETMRlvKHT2iLcWu+WyYiJO3b3Ivokwo7EQca/xfLVJmg== +"@types/bluebird@^3.5.25": + version "3.5.25" + resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.25.tgz#59188b871208092e37767e4b3d80c3b3eaae43bd" + integrity sha512-yfhIBix+AIFTmYGtkC0Bi+XGjSkOINykqKvO/Wqdz/DuXlAKK7HmhLAXdPIGsV4xzKcL3ev/zYc4yLNo+OvGaw== "@types/convict@^4.2.1": version "4.2.1"