Skip to content

Commit c13194e

Browse files
bborehampracucci
andauthored
Expand instructions on scaling up (#3893)
Signed-off-by: Bryan Boreham <[email protected]> Co-authored-by: Marco Pracucci <[email protected]> Co-authored-by: Marco Pracucci <[email protected]>
1 parent 09b3e3e commit c13194e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/guides/ingesters-scaling-up-and-down.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ _If you're looking how to run ingesters rolling updates, please refer to the [de
1212
## Scaling up
1313

1414
Adding more ingesters to a Cortex cluster is considered a safe operation. When a new ingester starts, it will register to the [hash ring](../architecture.md#the-hash-ring) and the distributors will reshard received series accordingly.
15+
Ingesters that were previously receiving those series will see data stop arriving and will consider those series "idle".
1516

16-
No special care is required to take when scaling up ingesters.
17+
If you run with `-distributor.shard-by-all-labels=false` (the default), before adding a second ingester you have to wait until data has migrated from idle series to the back-end store, otherwise you will see gaps in queries.
18+
For chunks storage, this will start after `-ingester.max-chunk-idle` time (default 5 minutes), and will finish when the flush queue is clear - how long depends on how fast your back-end store can accept writes.
19+
For blocks storage, this will happen after the next "head compaction" (typically every 2 hours).
20+
If you have set `-querier.query-store-after` then that is also a minimum time you have to wait before adding a second ingester.
21+
22+
If you run with `-distributor.shard-by-all-labels=true`,
23+
no special care is required to take when scaling up ingesters.
1724

1825
## Scaling down
1926

0 commit comments

Comments
 (0)