Skip to content

[grafana] fix(unified): add ephemeral storage for search#4073

Merged
jkroepke merged 1 commit intomainfrom
add-ephem-storage-for-search
Jan 7, 2026
Merged

[grafana] fix(unified): add ephemeral storage for search#4073
jkroepke merged 1 commit intomainfrom
add-ephem-storage-for-search

Conversation

@RafaelPaulovic
Copy link
Copy Markdown
Contributor

@RafaelPaulovic RafaelPaulovic commented Jan 7, 2026

Newer Grafana versions enable Unified Search by default, which uses Bleve for indexing. Bleve locks its index files when using filesystem mode, causing pods to hang at startup when multiple replicas share the same PVC.

We temporally worked around that by falling back to in-memory indexing if the file locks cannot be obtained (grafana/grafana#115720).

This change adds an emptyDir volume mounted at /var/lib/grafana-search/bleve (the default index path) so each pod gets its own ephemeral index storage, fixing the filesystem mode (no fallback to in-memory and no hanging behavior at startup).

Adjacent PR: grafana/grafana#115953

Ticket: https://github.com/grafana/search-and-storage-team/issues/611

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jan 7, 2026

CLA assistant check
All committers have signed the CLA.

@RafaelPaulovic RafaelPaulovic changed the title fix(unified): add ephemeral storage for search [grafana] fix(unified): add ephemeral storage for search Jan 7, 2026
@RafaelPaulovic RafaelPaulovic force-pushed the add-ephem-storage-for-search branch from 9ccd5b5 to e96eaef Compare January 7, 2026 17:32
Copy link
Copy Markdown
Collaborator

@jkroepke jkroepke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jkroepke
Copy link
Copy Markdown
Collaborator

jkroepke commented Jan 7, 2026

please check DCO

Signed-off-by: Rafael Paulovic <rafael.paulovic@grafana.com>
@RafaelPaulovic
Copy link
Copy Markdown
Contributor Author

@jkroepke thanks for the quick review! I'll get some feedback from my team tomorrow and merge it.

@jkroepke jkroepke merged commit 427b38a into main Jan 7, 2026
11 checks passed
@jkroepke jkroepke deleted the add-ephem-storage-for-search branch January 7, 2026 19:25
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Jan 10, 2026
##### [\`10.5.4\`](https://github.com/grafana/helm-charts/releases/tag/grafana-10.5.4)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] fix(unified): add ephemeral storage for search by [@RafaelPaulovic](https://github.com/RafaelPaulovic) in [#4073](grafana/helm-charts#4073)

#### New Contributors

- [@RafaelPaulovic](https://github.com/RafaelPaulovic) made their first contribution in [#4073](grafana/helm-charts#4073)

**Full Changelog**: <grafana/helm-charts@grafana-10.5.3...grafana-10.5.4>
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Jan 10, 2026
##### [\`10.5.4\`](https://github.com/grafana/helm-charts/releases/tag/grafana-10.5.4)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] fix(unified): add ephemeral storage for search by [@RafaelPaulovic](https://github.com/RafaelPaulovic) in [#4073](grafana/helm-charts#4073)

#### New Contributors

- [@RafaelPaulovic](https://github.com/RafaelPaulovic) made their first contribution in [#4073](grafana/helm-charts#4073)

**Full Changelog**: <grafana/helm-charts@grafana-10.5.3...grafana-10.5.4>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants