elastic / makelogs

109 stars 44 forks source link

Bulk queue size is no longer dynamically updatable #19

Closed ycombinator closed 8 years ago

ycombinator commented 8 years ago

makelogs sets the bulk queue size in Elasticsearch (threadpool.bulk.queue_size) to unlimited via the REST API. Starting with https://github.com/elastic/elasticsearch/commit/da74323141a69bd06fc19a70bc072143e9f0e986, this setting is no longer dynamically updatable. This is causing makelogs to fail with this error:

Error: [illegal_argument_exception] transient setting [threadpool.bulk.queue_size], not dynamically updateable
    at respond (/Users/shaunak/development/github/ycombinator/kibana/node_modules/makelogs/node_modules/elasticsearch/src/lib/transport.js:256:15)
    at checkRespForFailure (/Users/shaunak/development/github/ycombinator/kibana/node_modules/makelogs/node_modules/elasticsearch/src/lib/transport.js:219:7)
    at HttpConnector.<anonymous> (/Users/shaunak/development/github/ycombinator/kibana/node_modules/makelogs/node_modules/elasticsearch/src/lib/connectors/http.js:155:7)
    at IncomingMessage.wrapper (/Users/shaunak/development/github/ycombinator/kibana/node_modules/makelogs/node_modules/elasticsearch/node_modules/lodash/index.js:3095:19)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickCallback (node.js:356:17)