teraslice 0.83.0 → 0.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -377,7 +377,7 @@ module.exports = async function elasticsearchStorage(backendConfig) {
|
|
|
377
377
|
bulkQueue = [];
|
|
378
378
|
|
|
379
379
|
try {
|
|
380
|
-
const
|
|
380
|
+
const recordCount = await bulkSend(bulkRequest);
|
|
381
381
|
const extraMsg = shuttingDown ? ', on shutdown' : '';
|
|
382
382
|
logger.debug(`flushed ${recordCount}${extraMsg} records to index ${indexName}`);
|
|
383
383
|
} finally {
|
|
@@ -393,9 +393,9 @@ class Scheduler {
|
|
|
393
393
|
this._creating += slices.length;
|
|
394
394
|
|
|
395
395
|
try {
|
|
396
|
-
const
|
|
396
|
+
const count = await this.stateStore.createSlices(this.exId, slices);
|
|
397
397
|
this.enqueueSlices(slices);
|
|
398
|
-
this._creating -=
|
|
398
|
+
this._creating -= count;
|
|
399
399
|
} catch (err) {
|
|
400
400
|
const { lifecycle } = this.executionContext.config;
|
|
401
401
|
if (lifecycle === 'once') {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "teraslice",
|
|
3
3
|
"displayName": "Teraslice",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.84.0",
|
|
5
5
|
"description": "Distributed computing platform for processing JSON data",
|
|
6
6
|
"homepage": "https://github.com/terascope/teraslice#readme",
|
|
7
7
|
"bugs": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"ms": "^2.1.3"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@terascope/elasticsearch-api": "^3.
|
|
40
|
+
"@terascope/elasticsearch-api": "^3.5.0",
|
|
41
41
|
"@terascope/job-components": "^0.58.5",
|
|
42
42
|
"@terascope/teraslice-messaging": "^0.28.5",
|
|
43
43
|
"@terascope/utils": "^0.45.5",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"semver": "^7.3.8",
|
|
62
62
|
"socket.io": "^1.7.4",
|
|
63
63
|
"socket.io-client": "^1.7.4",
|
|
64
|
-
"terafoundation": "^0.
|
|
64
|
+
"terafoundation": "^0.43.0",
|
|
65
65
|
"uuid": "^9.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|