Commit Graph

8979 Commits (53afa0addcfe398aa892b94bf7b943a8dc9f4ec0)

Author SHA1 Message Date
Sebastian Borza 26bc778b40 adding quit and Ctrl-D support to influx cli
update comment based on feedback
2015-12-23 11:54:41 -05:00
Jonathan A. Sternberg f00e85dd9f Merge pull request #5158 from influxdb/js-4076-line-protocol-parser-panics
Fix the line protocol scanner to read field keys with quotes correctly
2015-12-23 11:32:32 -05:00
Jonathan A. Sternberg 4813d82285 Fix the line protocol scanner to read field keys with quotes correctly
Quotes are not supposed to be significant in field keys, but are
significant in field values. The code as it currently was would
consider quotes in a key to be significant, but the later parser that
would unmarshal the fields from the byte string did not consider those
quotes to be significant. This meant that the following string:

    "a=1

The line protocol parser would see a mismatched quote instead of a valid
input to the line protocol. But more nefariously, the following string:

    "a=1"=2

The line protocol parser would ignore the first equals since it is
located in the quotation marks and think this was a valid input. It
would then pass it on to the field parser who would panic and die when
it tried to parse `1"=2` as a number.

Fixes #4076.
2015-12-23 09:14:28 -05:00
Philip O'Toole 3264ab02b4 Update CHANGELOG for PR5201
[ci skip]
2015-12-22 13:34:20 -05:00
Philip O'Toole a63d2623ff Merge pull request #5201 from sebito91/master
moving UDP payload size to config option, improve throughput performance
2015-12-22 13:32:18 -05:00
Sebastian Borza 8057d6f4ff adding language to config sample for udp-payload-size 2015-12-22 12:57:55 -05:00
Sebastian Borza d885f4156b removing golang reference 2015-12-22 12:54:43 -05:00
Philip O'Toole 70353a116c Update CHANGELOG for PR5183
[ci skip]
2015-12-22 07:09:54 -08:00
Philip O'Toole ff20ec6877 Merge pull request #5183 from pires/5174-fix_use_db
USE databasename will work only for existing databases.
2015-12-22 06:31:49 -08:00
Sebastian Borza 3bf5d9c969 moving UDP payload size to config option, improve throughput performance
moving UDP payload size to optional config choice to imporove throughput performance
2015-12-22 09:14:50 -05:00
Paulo Pires 3165c707fc Small improvements to USE command as per PR comments. 2015-12-22 08:55:32 +00:00
Philip O'Toole 308cab0a52 Update CHANGELOG for PR 5178
[ci skip]
2015-12-21 15:44:50 -08:00
Philip O'Toole cc28b9ab95 Merge pull request #5178 from pires/5176_show_field
SHOW FIELD shouldn't expect VALUES.
2015-12-21 15:44:01 -08:00
Nathaniel Cook e1dbf51ab4 Merge pull request #5146 from influxdb/nc-test-go1.6beta
make tip container usable for any git revision, add go1.6beta1 test
2015-12-21 09:49:53 -07:00
Paulo Pires 3f4949019d USE databasename will work only for existing databases. Fixes #5174 2015-12-21 09:34:40 +00:00
Paulo Pires be577e5a23 SHOW FIELD shouldn't expect VALUES. Fixes #5176 2015-12-20 09:52:09 +00:00
Jason Wilder 146f36c3d5 Merge pull request #4981 from mvadu/mvadu-patch-4358
Fix #4358: TSM engine breaks windows compatibility
2015-12-18 15:17:17 -07:00
Ady 5c888b3673 Merge branch 'master' of https://github.com/influxdb/influxdb into mvadu-patch-4358
Trying to get to latest master from influxdb
2015-12-19 01:45:07 +05:30
Jason Wilder 51ad2e4c7b Merge pull request #5165 from influxdb/jw-windows
Fix rename temp file on windows
2015-12-18 12:45:23 -07:00
Jason Wilder 7e97b0eafd Fix rename temp file on windows 2015-12-18 11:57:37 -07:00
Jason Wilder 4b93f6c72d Merge pull request #5142 from influxdb/jw-tsm-migrate
Optimize TSM compaction
2015-12-18 10:17:34 -07:00
Jason Wilder 611017f4ed Add comments 2015-12-18 10:00:07 -07:00
Jason Wilder 930174bf4d Handle calling WriteBlock with no data gracefully 2015-12-18 09:57:16 -07:00
Jason Wilder 6bc7765b88 Handle calling write with no values to TSMWriter gracefully 2015-12-18 09:52:53 -07:00
Philip O'Toole 8004f117e0 Credit for PR 5078
[ci skip]
2015-12-17 15:00:19 -08:00
Philip O'Toole eb87f076ed Merge pull request #5151 from grange74/fix-5078
Fixed #5078 to support Inserts in non-interactive mode.
2015-12-17 14:59:41 -08:00
Jason Wilder 421a127f11 Add indirectIndex.UnmarshalBinary benchmark 2015-12-17 15:38:51 -07:00
Jason Wilder 8c7e11f4cf Aggressively clean up KeyCursor resources 2015-12-17 12:51:51 -07:00
Jason Wilder fd2a409ea3 Skip decoding blocks that are already full 2015-12-17 12:47:05 -07:00
Philip O'Toole a8c285d265 Correctly name pkg README
[ci skip]
2015-12-17 11:24:58 -08:00
nick.grange 99f90770da Fixed code format using go fmt. 2015-12-18 00:28:58 +11:00
nick.grange 33de878956 Fixed #5078 to support Inserts in non-interactive mode.
Changed non-interactive mode to send everything through the CLI's parser the same way the interactive mode works.
Added multiline support for -execute flag.
2015-12-17 23:42:30 +11:00
Michael Desa ff12e83e7f Merge pull request #5148 from influxdb/jz-influx-stress-documentation
Add README.md for influx_stress
2015-12-16 17:16:22 -08:00
Jack Zampolin a507a8dd8e Add README.md for influx_stress 2015-12-16 16:20:37 -08:00
Nathaniel Cook 66e9073909 make tip container usable for any git revision, add go1.6beta1 test 2015-12-16 15:28:35 -07:00
Michael Desa b61f99d6d8 Merge pull request #5145 from influxdb/md-stress-int
Change pps output to int
2015-12-16 11:05:20 -08:00
Jason Wilder 825296ddd8 Add comments 2015-12-16 11:30:06 -07:00
Michael Desa 3535096a5c Change pps output to int 2015-12-16 10:28:17 -08:00
Jason Wilder 93d93797da Fix snappy decode error w/ influx_inspect 2015-12-16 11:28:13 -07:00
Jason Wilder 88324bf61c Optimize indirectIndex.UnmarshalBinary further 2015-12-16 11:28:13 -07:00
Jason Wilder 70d1f45058 Load TSM files concurrently 2015-12-16 11:28:12 -07:00
Jason Wilder 737871268b Speed up indirectIndex.UnmarshalBinary
Remove a bunch of unnecessary allocations to improve startup times.
2015-12-16 11:16:17 -07:00
Jason Wilder 3893bc60e1 Speed up TSM compactor
Just keep the current block for each iterator in the buffers.
2015-12-16 11:16:17 -07:00
Jason Wilder 00f570441b Convert TSMKeyIterator to return blocks 2015-12-16 11:16:17 -07:00
Jason Wilder 59a57d8f73 Convert CacheKeyIterator to return encoded blocks 2015-12-16 11:16:17 -07:00
Jason Wilder 0623648140 Add chunking support back to TSMKeyIterator
Was removed when MergeIterator was deleted.
2015-12-16 11:16:17 -07:00
Jason Wilder 31b97c3fe0 Add max points per block back for CacheKeyIterator
Was removed when MergeIterator was removeed.
2015-12-16 11:16:16 -07:00
Jason Wilder 45e87cdfe4 Strip checksum when returning block from ReadBytes 2015-12-16 11:16:16 -07:00
Jason Wilder 97435b9124 Return minTime/maxTime from BlockIterator.Read 2015-12-16 11:16:16 -07:00
Jason Wilder ce6de9728e Add test for BlockIterator with multiple blocks for a key 2015-12-16 11:16:16 -07:00