byteayan opened a new pull request, #535:
URL: https://github.com/apache/hugegraph-doc/pull/535
## Purpose of the PR
- link apache/hugegraph#3254
- paired with apache/hugegraph#3355; merge after it
apache/hugegraph#3355 changes the Store's shipped
`rocksdb.total_memory_size` to `0`. With `0` or no value, the Store sizes the
RocksDB budget as half of what is left after the JVM max heap,
`MaxDirectMemorySize` and a 1.5 GiB reserve, clamped to 256 MiB to 32 GB. An
unset `MaxDirectMemorySize` counts as the heap size, at most 1 GiB. Inside a
container it starts from the cgroup memory limit, including a limit on a parent
cgroup the Store can see. The Docker entrypoint also gains
`HG_STORE_ROCKSDB_TOTAL_MEMORY_SIZE`. The site still documented the old
`32000000000` value and said that `0` meant the JVM max heap.
Changes, in English and Chinese:
- `quickstart/hugegraph/hugegraph-hstore.md`:
- Rewrote the `rocksdb.total_memory_size` row: the new distribution value
`0`, the auto-sizing rule, the off-heap caches plus the separate 1 GiB Raft log
cache, the 1 MiB minimum for an explicit value, and plain bytes only.
- Added an upgrade note to that row: an `application-pd.yml` kept from an
earlier release still says `32000000000` and has to be set to `0` to auto-size.
- Added "at least 1" to the GB rounding in the `raft.disruptorBufferSize`
row, which the code fix now guarantees.
- Added the new variable to the master Docker env table.
- `guides/hugegraph-docker-cluster.md`: added the variable to the Store
table, with one line pointing to the configuration reference.
`bash dist/validate-links.sh` passes and `git diff --check` is clean. I did
not build the site locally because Hugo is not installed on this machine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]