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

fix: avoid panic when reading corrupt index in TSM file #24033

Open
wants to merge 2 commits into
base: gw-master-1.x-24033
Choose a base branch
from

Commits on Feb 19, 2024

  1. fix: for critical issue influxdata#19916 (influxdb server crashed whe…

    …n reading a corrupt file)
    
    Added check on indexOfsStart, to make index slice length fit in int32, and count should have >0 value otherwise it is corruption.
    - [ ] CHANGELOG.md updated
    - [*] Rebased/mergable
    - [*] Tests pass
    - [*] Sign [CLA](https://influxdata.com/community/cla/) (if not already signed)
    gggevorgyan authored and Gevorg Gevorgyan committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    4233042 View commit details
    Browse the repository at this point in the history
  2. fix: Improved error message to reflect count in it

    Gevorg Gevorgyan authored and Gevorg Gevorgyan committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    96fa817 View commit details
    Browse the repository at this point in the history