LeslieKid commented on code in PR #158:
URL: https://github.com/apache/horaedb-docs/pull/158#discussion_r1850727100


##########
content/en/docs/user-guide/cluster_deployment/with_meta.md:
##########
@@ -187,9 +187,34 @@ timeout = "5s"
 server_addrs = ['http://{HoraeMetaAddr}:2379']
 ```
 
+### Compaction Offload
+
+Compaction offload is also supported. To enable compaction offload, the 
corresponding compaction mode with node picker and endpoint should be 
configured.
+
+- `node_picker`: There are two types of node picker -- `Local` and 
`Remote`(WIP). 
+  - When the `Local` is setted, the local compaction task would be offloaded 
to the specific remote compaction server, which decided by `endpoint`.
+- `endpoint`: The endpoint, in the form `addr:port`, indicating the _grpc 
port_ of the remote compaction server.
+
+Here is an example for it:
+
+```toml
+[analytic.compaction_mode]
+compaction_mode = "Offload"
+node_picker = "Local"
+endpoint = "{RemoteCompactionServerAddr}:{RemoteCompactionServerGrpcPort}"

Review Comment:
   The remote node picker is not supported without horaemeta. Currently, we 
need to use local node picker and specify the `endpoint`.



-- 
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]

Reply via email to