Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Open db in Read only mode #588

Merged

Commits on Apr 24, 2019

  1. Added db read only open mode and use it for the tsdb cli.

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed Apr 24, 2019
    Configuration menu
    Copy the full SHA
    0997a15 View commit details
    Browse the repository at this point in the history
  2. add the DBReadOnly struct

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed Apr 24, 2019
    Configuration menu
    Copy the full SHA
    cd08753 View commit details
    Browse the repository at this point in the history
  3. fix wal closing

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed Apr 24, 2019
    Configuration menu
    Copy the full SHA
    8128c53 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2019

  1. refactored to update blocks on domand

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    83d3683 View commit details
    Browse the repository at this point in the history
  2. rename to DBView

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    a704541 View commit details
    Browse the repository at this point in the history
  3. revert renaming

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    a16cd17 View commit details
    Browse the repository at this point in the history
  4. remove metrics

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    ce25efc View commit details
    Browse the repository at this point in the history

Commits on May 6, 2019

  1. detach db from openBlocks()

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed May 6, 2019
    Configuration menu
    Copy the full SHA
    825d6c0 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/master' into read-only-alterna…

    …tive
    
    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed May 6, 2019
    Configuration menu
    Copy the full SHA
    ca72a4c View commit details
    Browse the repository at this point in the history

Commits on May 29, 2019

  1. Merge remote-tracking branch 'upstream/master' into read-only-alterna…

    …tive
    
    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed May 29, 2019
    Configuration menu
    Copy the full SHA
    93af048 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2019

  1. refactor and add tests

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed May 30, 2019
    Configuration menu
    Copy the full SHA
    c2d809b View commit details
    Browse the repository at this point in the history
  2. added db.Close to close all open blocks for windows

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed May 30, 2019
    Configuration menu
    Copy the full SHA
    1b68f0d View commit details
    Browse the repository at this point in the history

Commits on May 31, 2019

  1. add a read only interface for a block.

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed May 31, 2019
    Configuration menu
    Copy the full SHA
    4778d73 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. nits

    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    32d5aae View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. Merge remote-tracking branch 'upstream/master' into read-only-alterna…

    …tive
    
    Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
    Krasi Georgiev committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    b722198 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2019

  1. nits

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    add6f1e View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/master' into read-only-alterna…

    …tive
    
    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    a2726b4 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. simplified

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    6092063 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. refactored to use the Blockreader API.

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    fbea5e8 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2019

  1. non blocking head closing and use dir hash to ensure read only.

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jun 14, 2019
    Configuration menu
    Copy the full SHA
    3b76b2f View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2019

  1. Merge branch 'master' into read-only-alternative

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    95ba508 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. fix wal corruption metrics and head test

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    764d307 View commit details
    Browse the repository at this point in the history
  2. nits

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    bd79d07 View commit details
    Browse the repository at this point in the history
  3. nit

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    106d0e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. nits

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    2b4ddbc View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

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

Commits on Jul 9, 2019

  1. refactor error handling for DirHash and DirSize

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    fb75682 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2019

  1. NumSeries in Meta() of Head

    Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
    codesome committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    1cf409f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #5 from codesome/num-series-read-only

    NumSeries in Meta() of Head
    krasi-georgiev authored Jul 16, 2019
    Configuration menu
    Copy the full SHA
    0a645ab View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. nits

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    af10877 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'read-only-alternative' of github.com:krasi-georgiev/tsd…

    …b into read-only-alternative
    
    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    b8c4781 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. use channel for the db closing and remove mutex

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    df4a374 View commit details
    Browse the repository at this point in the history
  2. add ErrClosed and add a test for it.

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    b3f7774 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. handle mutli errors.

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    1a97569 View commit details
    Browse the repository at this point in the history
  2. nits

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    03b33b1 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2019

  1. head meta comment

    Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
    krasi-georgiev committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    beeaefa View commit details
    Browse the repository at this point in the history