zhichyu commited on
Commit
67791c5
·
1 Parent(s): 7099111

Elasticsearch disk-based shard allocator use absolute byte values instead of ratio (#4069)

Browse files

### What problem does this PR solve?

Elasticsearch disk-based shard allocator use absolute byte values
instead of ratio. Close #4018

### Type of change

- [ ] Documentation Update
- [x] Refactoring

Files changed (1) hide show
  1. docker/docker-compose-base.yml +3 -0
docker/docker-compose-base.yml CHANGED
@@ -17,6 +17,9 @@ services:
17
  - xpack.security.enabled=true
18
  - xpack.security.http.ssl.enabled=false
19
  - xpack.security.transport.ssl.enabled=false
 
 
 
20
  - TZ=${TIMEZONE}
21
  mem_limit: ${MEM_LIMIT}
22
  ulimits:
 
17
  - xpack.security.enabled=true
18
  - xpack.security.http.ssl.enabled=false
19
  - xpack.security.transport.ssl.enabled=false
20
+ - cluster.routing.allocation.disk.watermark.low=5gb
21
+ - cluster.routing.allocation.disk.watermark.high=3gb
22
+ - cluster.routing.allocation.disk.watermark.flood_stage=2gb
23
  - TZ=${TIMEZONE}
24
  mem_limit: ${MEM_LIMIT}
25
  ulimits: