You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/enterprise_influxdb/v1/administration/manage/clusters/rebalance.md
+18-22Lines changed: 18 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,9 +70,9 @@ data node to expand the total disk capacity of the cluster.
70
70
In the next steps, you will safely move shards from one of the two original data
71
71
nodes to the new data node.
72
72
73
-
### Step 1: Truncate Hot Shards
73
+
### Step 1: Truncate hot shards
74
74
75
-
Hot shards are shards that are currently receiving writes.
75
+
Hot shards are shards that currently receive writes.
76
76
Performing any action on a hot shard can lead to data inconsistency within the
77
77
cluster which requires manual intervention from the user.
78
78
@@ -84,12 +84,9 @@ cluster which requires manual intervention from the user.
84
84
> For more information, see [`truncate-shards` and future data](/enterprise_influxdb/v1/tools/influxd-ctl/truncate-shards/#understand-the-risks-with-future-data)
85
85
> or [contact InfluxData support](https://support.influxdata.com).
86
86
87
-
To prevent data inconsistency, truncate hot shards before moving any shards
87
+
To prevent data inconsistency, truncate shards before moving any shards
88
88
across data nodes.
89
-
The command below creates a new hot shard which is automatically distributed
90
-
across all data nodes in the cluster, and the system writes all new points to
91
-
that shard.
92
-
All previous writes are now stored in cold shards.
89
+
The following command truncates all hot shards and creates new shards to write data to:
93
90
94
91
```
95
92
influxd-ctl truncate-shards
@@ -101,10 +98,11 @@ The expected output of this command is:
101
98
Truncated shards.
102
99
```
103
100
104
-
Once you truncate the shards, you can work on redistributing the cold shards
105
-
without the threat of data inconsistency in the cluster.
106
-
Any hot or new shards are now evenly distributed across the cluster and require
107
-
no further intervention.
101
+
New shards are automatically distributed across all data nodes, and InfluxDB writes new points to them.
102
+
Previous writes are stored in cold shards.
103
+
104
+
After truncating shards, you can redistribute cold shards without data inconsistency.
105
+
Hot and new shards are evenly distributed and require no further intervention.
108
106
109
107
### Step 2: Identify Cold Shards
110
108
@@ -309,9 +307,9 @@ name duration shardGroupDuration replicaN default
309
307
autogen 0s 1h0m0s 3 #👍 true
310
308
```
311
309
312
-
### Step 2: Truncate Hot Shards
310
+
### Step 2: Truncate hot shards
313
311
314
-
Hot shards are shards that are currently receiving writes.
312
+
Hot shards are shards that currently receive writes.
315
313
Performing any action on a hot shard can lead to data inconsistency within the
316
314
cluster which requires manual intervention from the user.
317
315
@@ -323,12 +321,9 @@ cluster which requires manual intervention from the user.
323
321
> For more information, see [`truncate-shards` and future data](/enterprise_influxdb/v1/tools/influxd-ctl/truncate-shards/#understand-the-risks-with-future-data)
324
322
> or [contact InfluxData support](https://support.influxdata.com).
325
323
326
-
To prevent data inconsistency, truncate hot shards before copying any shards
324
+
To prevent data inconsistency, truncate shards before copying any shards
327
325
to the new data node.
328
-
The command below creates a new hot shard which is automatically distributed
329
-
across the three data nodes in the cluster, and the system writes all new points
330
-
to that shard.
331
-
All previous writes are now stored in cold shards.
326
+
The following command truncates all hot shards and creates new shards to write data to:
332
327
333
328
```
334
329
influxd-ctl truncate-shards
@@ -340,10 +335,11 @@ The expected output of this command is:
340
335
Truncated shards.
341
336
```
342
337
343
-
Once you truncate the shards, you can work on distributing the cold shards
344
-
without the threat of data inconsistency in the cluster.
345
-
Any hot or new shards are now automatically distributed across the cluster and
346
-
require no further intervention.
338
+
New shards are automatically distributed across all data nodes, and InfluxDB writes new points to them.
339
+
Previous writes are stored in cold shards.
340
+
341
+
After truncating shards, you can redistribute cold shards without data inconsistency.
342
+
Hot and new shards are evenly distributed and require no further intervention.
0 commit comments