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

Improve exception from Store.failIfCorrupted #7695

Merged
merged 1 commit into from Sep 11, 2014

Commits on Sep 11, 2014

  1. [STORE] Improve exception from Store.failIfCorrupted

    If you have previously corrupted files, this method currently builds an
    exception like:
    ```
        failed engine [corrupted preexisting index]
        failed to start shard
    ```
    
    Followed by a CorruptIndexException. This commit writes the entire
    stacktrace to provide additional information. It also changes the
    failure message from `corrupted preexisting index` to `preexisting
    corrupted index` to prevent confusion.
    
    Closes elastic#7596
    s1monw committed Sep 11, 2014
    Configuration menu
    Copy the full SHA
    3ef6860 View commit details
    Browse the repository at this point in the history