Commit Graph

8589 Commits (b0f27beb127a9128631d2dbb82c52d782f10c4d0)

Author SHA1 Message Date
Michael Desa b0f27beb12 Add support for writing to a cluster 2015-11-30 10:22:12 -08:00
Michael Desa d6b4f64006 Add basichttp write handler 2015-11-27 19:20:29 -08:00
Ben Johnson 3b035ccaea Merge pull request #4913 from benbjohnson/b1-deadlock
Fix flush deadlock
2015-11-25 15:14:19 -07:00
Ben Johnson 41459cf687 fix flush deadlock
This commit fixes a deadlock that occurs during b1 flushes. It's
caused by taking locks in a different order. In the flush, b1
locks the engine and then bolt. However, in the query cursor, a
lock is obtained on bolt first (via `DB.Begin()`) and then the
engine is locked while reading from the engine's cache.
2015-11-25 15:00:06 -07:00
Philip O'Toole 45502d288f Update CHANGELOG for PR 4833
[ci skip]
2015-11-25 10:51:02 -08:00
Philip O'Toole bce68ed43d Merge pull request #4833 from li-ang/fix_show_measurements
Fix SHOW MEASUREMENTS across the cluster
2015-11-25 10:47:44 -08:00
Philip O'Toole f9475e3e3f Merge pull request #4902 from EricSmekens/patch-1
Update changelog.md. Removed double change.
2015-11-25 09:03:57 -08:00
Cory LaNou ce8cf05b0e Merge pull request #4889 from influxdb/mapper-execute-close
Implement close notifier and timeout on executors
2015-11-25 08:24:00 -06:00
Eric Smekens 3fac74bebb Update changelog.md. Removed double change.
#4659 was double in the changelog.
2015-11-25 13:39:45 +01:00
Jason Wilder d931f5dd22 Merge pull request #4900 from influxdb/jw-compact
WAL segment compaction
2015-11-24 21:35:13 -07:00
Jason Wilder 34bffd5e18 Code review fixes 2015-11-24 21:24:13 -07:00
Cory LaNou be488b7d12 implement close notifier and timeout on executors 2015-11-24 21:07:18 -06:00
Jason Wilder 1ce8d6290b Remove values pool replacement
Getting an intermittent test failure with this so removing it for now since compactions
are still able to keep up without it.  Will need to look into this further because the
allocations is still very high and will affect compactions over longer periods of time.
2015-11-24 13:40:07 -07:00
Mark Rushakoff ed393398cd Merge pull request #4868 from influxdb/influxql-doc-updates
Influxql doc updates
2015-11-24 12:16:12 -08:00
Mark Rushakoff 28df5a1a78 Merge pull request #4878 from influxdb/fix-statement-strings
Fix statement strings
2015-11-24 12:15:47 -08:00
Philip O'Toole e84784e4a1 Merge pull request #4864 from influxdb/coding_guidelines
Coding guidelines
2015-11-24 09:05:37 -08:00
Philip O'Toole 4bc0e9781b Add initial coding guidelines 2015-11-24 08:59:39 -08:00
Jason Wilder 0832a03333 Move pools to separate file 2015-11-24 09:44:37 -07:00
Jason Wilder a6541937f8 Add dumptsmdev to influx_inspect
Allow inspecting the updated TSM format.
2015-11-24 08:50:13 -07:00
Jason Wilder 25206c729c Add compactor type 2015-11-24 08:50:07 -07:00
Mark Rushakoff 94e47093b6 Update CHANGELOG 2015-11-23 14:51:57 -08:00
Mark Rushakoff 81beb43b69 Add more missing QuoteIdent calls 2015-11-23 14:51:57 -08:00
Mark Rushakoff c7782878aa Fix strings for SHOW MEASUREMENTS 2015-11-23 14:51:57 -08:00
Mark Rushakoff fc628fdb42 Fix strings for CREATE/DROP SUBSCRIPTION 2015-11-23 14:51:57 -08:00
Mark Rushakoff f4e19094ec Fix String() implementations of various Statements 2015-11-23 14:51:57 -08:00
Mark Rushakoff 74626d9511 Fix typo in parse error 2015-11-23 14:51:57 -08:00
Philip O'Toole 34fddc2c10 Compute file md5sum before any rename
Renames can happen for nightly builds, which resulted in failed md5sum
commands.

[ci skip]
2015-11-23 14:50:03 -08:00
Philip O'Toole 778d0728fb Merge pull request #4888 from influxdb/tsm1dev_log
Enhance tsm1dev logging
2015-11-23 14:29:45 -08:00
Philip O'Toole f8b4950ea9 Enhance tsm1dev logging 2015-11-23 14:24:39 -08:00
Jason Wilder f70323cb89 Add MergeIterator
MergeIterator will be used to merge multiple TSM KeyIterators and the
WAL KeyIterator using a stream based iteration approach.  Each iteration
cycle returns a key and values ordered in way to write a new TSM file
optimally.
2015-11-23 14:59:15 -07:00
Jason Wilder 5334271e26 Add KeyIterator for WAL segments
This provides and interface and type to combine multiple WAL segments
in order and then allow the values to be read in an order suitable for
writing to a TSM file.
2015-11-23 14:59:15 -07:00
Jason Wilder a8c6f09cb3 Merge pull request #4845 from influxdb/jw-tsm3
Extract TSM WAL
2015-11-23 14:15:41 -07:00
Jason Wilder d2b045f89b Code cleanup 2015-11-23 14:03:50 -07:00
Jason Wilder 697cfe604b Add stubbed out dev tsm engine
Starting to integrate some of the components into a engine that is
usable for development purposes.  This allows the code to evolve while
keeping the existing TSM engine in tact for reference.

Currently, just the WAL is wired up so writes can be tested.  Other engine
functions will panic the server if called.
2015-11-23 13:55:34 -07:00
Jason Wilder 7461b61bf2 Fix race in WAL and WALSegmentWriter
WAL currentSegmentWriter was not accessed under a mutex.  The WALSegmentWriter
also did not use a mutex to protect the underlying writer.
2015-11-23 13:55:34 -07:00
Jason Wilder aa00ef953a Fix typo in func names 2015-11-23 13:55:34 -07:00
Jason Wilder e2b1a09ece Implemment WAL write/delete functions 2015-11-23 13:55:33 -07:00
Jason Wilder afc0d5bfb9 Add WALSegmentReader/Writer
Basic types for reading and writing WAL segment files.
2015-11-23 13:55:33 -07:00
Jason Wilder 151b33d000 Rename wal.go to log.go
This is the existing WAL + cache implementation.  Moving it to a separate file
so that it can remain intact while a refactoring to a independent WAL can occur.

The WAL was also named Log in the code so this names file more closely to the concept
in the code.
2015-11-23 13:53:30 -07:00
Philip O'Toole 1a77c76245 Merge pull request #4863 from influxdb/simple_wal_cache
Move to simpler cache
2015-11-23 12:49:58 -08:00
Philip O'Toole 7f6279b9ad Add `go clean` to build docs
[ci skip]
2015-11-23 10:51:16 -08:00
Philip O'Toole 524ede8e5b Merge pull request #4883 from danbst/patch-1
fix collectd manual typo
2015-11-23 09:10:43 -08:00
Данило Глинський (Danylo Hlynskyi) 8ba35c3b8c fix collectd manual typo 2015-11-23 18:54:47 +02:00
Philip O'Toole 46988d22c7 Update CHANGELOG for PR 4790
[ci skip]
2015-11-23 07:45:19 -08:00
Philip O'Toole 42392869f4 Merge pull request #4855 from runner-mei/patch-3
fix TestCluster_OpenRaft is timeout
2015-11-23 07:43:32 -08:00
Mark Rushakoff c24a849d9d SHOW SERIES does not accept group_by
[ci skip]
2015-11-22 13:40:35 -08:00
Mark Rushakoff 8ca1f5e0fb Add missing SHOW GRANTS; fix DELETE FROM
[ci skip]
2015-11-22 13:14:19 -08:00
Mark Rushakoff 03889cc991 Fix EBNF for drop series, show measurements
[ci skip]
2015-11-22 12:05:20 -08:00
Mark Rushakoff 73ef6ba858 More doc updates
[ci skip]
2015-11-22 10:21:45 -08:00
Mark Rushakoff b51dafbfaf Prefer on_clause over `"ON" db_name`
[ci skip]
2015-11-22 10:14:49 -08:00