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

bucket verify: repair out of order labels #964

Merged

Commits on Mar 25, 2019

  1. Configuration menu
    Copy the full SHA
    f0dfe27 View commit details
    Browse the repository at this point in the history
  2. verify repair: correctly order series in the index on rewrite

    When we have label sets that are not in the correct order, fixing that
    changes the order of the series in the index.  So the index must be
    rewritten in that new order.  This makes this repair tool take up a
    bunch more memory, but produces blocks that verify correctly.
    jjneely committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    f09d3f5 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2019

  1. Fix the TSDB block safe-delete function

    The directory name must be the block ID name exactly to verify.  A temp
    directory or random name will not work here.
    jjneely committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    230bc7b View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2019

  1. verify repair: fix duplicate chunk detection

    Pointer/reference logic error was eliminating all chunks for a series in
    a given TSDB block that wasn't the first chunk.  Chunks are now
    referenced correctly via pointers.
    jjneely committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    3f0d6cd View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2019

  1. Configuration menu
    Copy the full SHA
    ed78bde View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2019

  1. Use errors.New()

    Some linters catch errors.Errorf() as its not really part of the errors
    package.
    jjneely committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    2f179ff View commit details
    Browse the repository at this point in the history
  2. Liberally comment this for loop

    We're comparing items by pointers, using Go's range variables is
    misleading here and we need not fall into the same trap.
    jjneely committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    24173d3 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2019

  1. Take advantage of sort.Interface

    This prevents us from having to re-implement label sorting.
    jjneely committed Apr 17, 2019
    Configuration menu
    Copy the full SHA
    0d39253 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2019

  1. Configuration menu
    Copy the full SHA
    bfd44f1 View commit details
    Browse the repository at this point in the history