Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: skip merging when no remote storage configured #13427

Merged
merged 1 commit into from
Jan 22, 2024

Commits on Jan 18, 2024

  1. storage: skip merging when no remote storage configured

    Prometheus is hard-coded to use a fanout storage between TSDB and
    a remote storage which by default is empty.
    This change detects the empty storage and skips merging between
    result sets, which would make `Select()` sort results.
    
    Bottom line: we skip a sort unless there really is some remote storage
    configured.
    
    Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
    bboreham committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    63cdd6d View commit details
    Browse the repository at this point in the history