Commit Graph

92 Commits (407e12d051f7907e1bde47ccd59258eedbd10715)

Author SHA1 Message Date
Krasi Georgiev d05611c027
removed some unused code and moved mockSeriesSet in querier_test (#394)
6 years ago
Goutham Veeramachaneni 9c8ca47399
Fix filehandling for windows (#392)
6 years ago
beorn7 3bc6c670fa Revert "Remove `prometheus_` prefix from metrics"
6 years ago
Callum Styan 722f0ab920 break MigrateWAL into two functions, detection and migration (#371)
6 years ago
beorn7 98fe30438c Remove `prometheus_` prefix from metrics
6 years ago
Fabian Reinartz 74b3501161 Fix Rename call
6 years ago
Fabian Reinartz ee7ee059ef Fix doc comments
6 years ago
Fabian Reinartz 22fd3ef24e Deal with zero-length segments
6 years ago
Fabian Reinartz 92e1b20957 Fix close handling
6 years ago
Fabian Reinartz 1a5573b4ce Migrate write ahead log
6 years ago
Alexey Palazhchenko 9283c68e7d Fix ineffective assignment.
7 years ago
Mario Trangoni b7173eb0e5 fix some comments typos (#315)
7 years ago
Mario Trangoni c0e888e82b fix megacheck issues: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd.
7 years ago
Tobias Schmidt 6027af95ca Fix missing prefix of tsdb_wal_* metrics
7 years ago
Fabian Reinartz b1df857819
Merge pull request #190 from prometheus/walsync
7 years ago
Fabian Reinartz a993f0ccc0
Fix typo
7 years ago
ranbochen a27cf34a36 fix bugs on platform windows to pass all test case. (#192)
7 years ago
Fabian Reinartz 8aedb7671e wal: synchronize background operations
7 years ago
Fabian Reinartz 80055bb95b Truncate segments on broken header
7 years ago
Fabian Reinartz c3e502b194 Merge pull request #168 from prometheus/fasterwal
7 years ago
Fabian Reinartz 7efb830d70 wal: parallelize sample processing
7 years ago
Fabian Reinartz d3682d701c wal: decode and process in separate threads.
7 years ago
Simon Pasquier 3e17cd1621 Instrument WAL corruptions
7 years ago
Fabian Reinartz 27f1b8aac3 Merge pull request #162 from BasPH/fsync-duration
7 years ago
Bas Harenslak 5e1c258a98 Instrument WAL fsync
7 years ago
Goutham Veeramachaneni da565f975e Merge pull request #161 from prometheus/fileutil
7 years ago
Fabian Reinartz bbe72dccb9 Remove dependency on etcd/pkg/fileutil
7 years ago
Goutham Veeramachaneni c35d3a65bd
Add levels to all log lines.
7 years ago
Fabian Reinartz 1e88ba06b4 Use boolean function instead of postings to drop WAL series
7 years ago
Fabian Reinartz 162a48e4f2 Create series with ID recorded in WAL when reading it back
7 years ago
Fabian Reinartz 7ada9cd805 Simplify series create logic in head
7 years ago
Fabian Reinartz 6892fc6dcb Finish old WAL segment async, default to no fsync
7 years ago
Fabian Reinartz 1d5f85817d Fix various races
7 years ago
Fabian Reinartz c2916736be Re-use slices on deocding the WAL. Fix tests.
7 years ago
Fabian Reinartz 0db4c227b7 Fix min/max time handling and concurrent crc32 usage
7 years ago
Fabian Reinartz 970bffec8d Fix WAL errors and add tests for it
7 years ago
Fabian Reinartz 81222849bc Filter WAL data in Head, misc fixes
7 years ago
Fabian Reinartz 33e9bdf403 WAL refactoring and truncation fixes and test
7 years ago
Fabian Reinartz c36d574290 Replace single head lock with granular locks
7 years ago
Fabian Reinartz 1ddedf2b30 Change series ID from uint32 to uint64
7 years ago
Goutham Veeramachaneni 1698c516ad [WIP]: WAL implementation
7 years ago
Fabian Reinartz 893b6ec506 Add tests for GC and chunk truncation
7 years ago
Fabian Reinartz 5cf2662074 Refactor WAL into Head and misc improvements
7 years ago
Fabian Reinartz 3901b6e70b Remove multiple heads
7 years ago
Alin Sinpalean 8f7934d025 Take the fdatasync() syscall out from under mutex lock to (mostly) avoid scrape and eval from blocking on disk I/O.
7 years ago
Matt Layher 78b15c3434
Add newCRC32 function to simplify hash initialization
7 years ago
Goutham Veeramachaneni 7438ed7035 Expose Intervals type for use by TombstoneReader.
7 years ago
Goutham Veeramachaneni 44e9ae38b5
Incorporate PR feedback.
8 years ago
Goutham Veeramachaneni bacb143b7e
Simplify tombstone and WAL Delete formats.
8 years ago
Goutham Veeramachaneni f29fb62fba
Make TombstoneReader a Getter.
8 years ago