Skip to content

Commit 4627e7e

Browse files
docs: remove auto-managed settings from cassandra patch file example
Remove seed_provider/seeds and directory settings from the example cassandra.patch.yaml, as these are automatically configured by easy-db-lab and should not be set by end users. Update the admonish block to clearly list all auto-managed settings. Fixes #585 Co-authored-by: Jon Haddad <rustyrazorblade@users.noreply.github.com>
1 parent cc124e8 commit 4627e7e

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

docs/user-guide/installing-cassandra.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,22 +85,17 @@ Example patch file:
8585
```yaml
8686
cluster_name: "my-cluster"
8787
num_tokens: 4
88-
seed_provider:
89-
class_name: "org.apache.cassandra.locator.SimpleSeedProvider"
90-
parameters:
91-
seeds: "10.0.1.28"
92-
hints_directory: "/mnt/db1/cassandra/hints"
93-
data_file_directories:
94-
- "/mnt/db1/cassandra/data"
95-
commitlog_directory: "/mnt/db1/cassandra/commitlog"
9688
concurrent_reads: 64
9789
concurrent_writes: 64
9890
trickle_fsync: true
99-
endpoint_snitch: "Ec2Snitch"
10091
```
10192
102-
```admonish info title="Auto-Injected Fields"
103-
`listen_address` and `rpc_address` are automatically injected with each node's private IP. Do not include them in your patch file.
93+
```admonish warning title="Auto-Managed Settings — Do Not Include"
94+
The following settings are automatically managed by easy-db-lab. Including them in your patch file may cause problems:
95+
96+
- `listen_address`, `rpc_address` — injected with each node's private IP
97+
- `seed_provider` / `seeds` — configured automatically based on cluster topology
98+
- `hints_directory`, `data_file_directories`, `commitlog_directory` — set based on the cluster's disk configuration
10499
```
105100
106101
### Apply Configuration

0 commit comments

Comments
 (0)