World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#2346] improvement(docs): Add configurations items about tree lock (#2816)
Qi Yu5b5a3a4005cc
diff --git a/docs/gravitino-server-config.md b/docs/gravitino-server-config.mdindex ffcee1cff3..751d6435dd 100644--- a/docs/gravitino-server-config.md+++ b/docs/gravitino-server-config.md@@ -63,6 +63,16 @@ You can also specify filter parameters by setting configuration entries of the fWe strongly recommend that you change the default value of `gravitino.entity.store.kv.rocksdbPath`, as it's under the deployment directory and future version upgrades may remove it.:::+### Tree lock configuration++Gravitino server uses tree lock to ensure the consistency of the data. The tree lock is a memory lock (Currently, Gravitino only supports in memory lock) that can be used to ensure the consistency of the data in Gravitino server. The configuration items are as follows:++| Configuration item | Description | Default value | Required | Since Version |+|--------------------------------------|---------------------------------------------------------------|---------------|----------|---------------|+| `gravitino.lock.maxNodes` | The maximum number of tree lock nodes to keep in memory | 100000 | No | 0.5.0 |+| `gravitino.lock.minNodes` | The minimum number of tree lock nodes to keep in memory | 1000 | No | 0.5.0 |+| `gravitino.lock.cleanIntervalInSecs` | The interval in seconds to clean up the stale tree lock nodes | 60 | No | 0.5.0 |+### Catalog configuration| Configuration item | Description | Default value | Required | Since version |