Skip to content

Commit

Permalink
Merge pull request #4 from I330716/master
Browse files Browse the repository at this point in the history
increase disk.watermark.flood_stage and disk.watermark.high to 100%
  • Loading branch information
vlpanov authored Aug 7, 2018
2 parents 76ab18f + 2cddee3 commit db4a9ab
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions elasticsearch-oss/config/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,16 @@ network.host: 0.0.0.0

indices.memory.index_buffer_size: 30%

#make the bulk query 50% larger
thread_pool.index.queue_size: 300

# disable disk allocation
cluster.routing.allocation.disk.threshold_enabled: false
# this is the threshold to move shard to other node(which we don't have)
cluster.routing.allocation.disk.watermark.high : 100%
#threshold for read only
cluster.routing.allocation.disk.watermark.flood_stage: 100%
#allow only primary shard. We don't need replica
cluster.routing.allocation.enable: primaries
#check to prevent allocation of multiple instances of the same shard on a single host
cluster.routing.allocation.same_shard.host: true

0 comments on commit db4a9ab

Please sign in to comment.