1. 21 9月, 2017 1 次提交
    • F
      Ensure postings are always sorted · 6ee254e3
      Fabian Reinartz 提交于
      IDs for new series are handed out before the postings are locked. Thus
      series are not indexed in order of their IDs, which could result in only
      partially sorted postings list.
      Iterating over those silently skipped elements as the sort invariant was
      violated.
      6ee254e3
  2. 19 9月, 2017 1 次提交
  3. 18 9月, 2017 2 次提交
  4. 09 9月, 2017 2 次提交
  5. 08 9月, 2017 1 次提交
  6. 07 9月, 2017 1 次提交
  7. 06 9月, 2017 2 次提交
  8. 05 9月, 2017 1 次提交
    • F
      Replace single head lock with granular locks · c36d5742
      Fabian Reinartz 提交于
      This adds various new locks to replace the single big lock on
      the head. All parts now must be COW as they may be held by clients
      after initial retrieval.
      Series by ID and hashes are now held in a stripe lock to reduce
      contention and total holding time during GC. This should reduce
      starvation of readers.
      c36d5742
  9. 04 9月, 2017 2 次提交
  10. 01 9月, 2017 5 次提交
  11. 25 8月, 2017 1 次提交
  12. 09 8月, 2017 1 次提交
  13. 08 8月, 2017 1 次提交
  14. 07 8月, 2017 1 次提交
  15. 06 8月, 2017 1 次提交
    • F
      Persist series without allocating the full set · 96d7f540
      Fabian Reinartz 提交于
      Change index persistence for series to not be accumulated in memory
      before being written as one large batch. `Labels` and `ChunkMeta`
      objects are reused.
      This cuts down memory spikes during compaction of multiple blocks
      significantly.
      
      As part of the the Index{Reader,Writer} now have an explicit notion of
      symbols and series must be inserted in order.
      96d7f540
  16. 12 7月, 2017 1 次提交
  17. 26 6月, 2017 2 次提交
    • F
      Return empty string to signal non-caching · 1e74c155
      Fabian Reinartz 提交于
      1e74c155
    • F
      Compact head block early · 3410559c
      Fabian Reinartz 提交于
      Let older head blocks be compacted once the newest once has samples at
      50% of its total range. This allows the memory of the compacted blocks
      to be released and garbage collected before a new head block gets
      created. Thereby the number of head blocks is 1 or 2 instead of 2 or 3
      and memory spikes are reduced.
      3410559c
  18. 12 6月, 2017 1 次提交
  19. 08 6月, 2017 2 次提交
  20. 06 6月, 2017 1 次提交
  21. 05 6月, 2017 1 次提交
  22. 28 5月, 2017 1 次提交
  23. 26 5月, 2017 2 次提交
  24. 24 5月, 2017 2 次提交
  25. 23 5月, 2017 3 次提交
  26. 22 5月, 2017 1 次提交