Skip to content

Commit

Permalink
Merge branch 'main' into bring-back-check-format
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney authored Mar 19, 2024
2 parents d501b5b + 7259326 commit 4e34be1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/sources/operations/storage/wal.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ The WAL also includes a backpressure mechanism to allow a large WAL to be replay

## Changes in lifecycle when WAL is enabled

1. Flushing of data to chunk store during rollouts or scale down is disabled. This is because during a rollout of StatefulSet there are no ingesters that are simultaneously leaving and joining, rather the same ingester is shut down and brought back again with updated config. Hence flushing is skipped and the data is recovered from the WAL.

Flushing of data to chunk store during rollouts or scale down is disabled. This is because during a rollout of statefulset there are no ingesters that are simultaneously leaving and joining, rather the same ingester is shut down and brought back again with updated config. Hence flushing is skipped and the data is recovered from the WAL. If you need to ensure that data is always flushed to the chunk store when your pod shuts down, you can set the `--ingester.flush-on-shutdown` flag to `true`.


## Disk space requirements

Expand Down Expand Up @@ -89,6 +91,9 @@ Hence before actually scaling down in Kubernetes, port forward those ingesters a

After hitting the endpoint for `ingester-2 ingester-3`, scale down the ingesters to 2.

Also you can set the `--ingester.flush-on-shutdown` flag to `true`. This enables chunks to be flushed to long-term storage when the ingester is shut down.


## Additional notes

### Kubernetes hacking
Expand Down

0 comments on commit 4e34be1

Please sign in to comment.