Andrew Hare
4d6672fa66
Merge with master
2017-09-29 11:07:40 -06:00
Jonathan A. Sternberg
9db4439984
Merge pull request #8840 from liketic/bugfix/issues/8813
...
Convert duration to string without dot and zeros
2017-09-29 11:24:40 -05:00
liketic
986a0e18da
Convert duration to string without dot and zeros
2017-09-28 11:56:25 -05:00
Jonathan A. Sternberg
7d1c32fb96
Merge pull request #8763 from influxdata/js-8762-document-subquery-ordering-change
...
Document that query ordering must be consistent in subqueries
2017-09-28 11:15:22 -05:00
Mark Rushakoff
8c70cfd74b
Merge pull request #8808 from liketic/feature/issues/8590
...
Influx CLI: Make cli case insensitive
2017-09-28 09:13:19 -07:00
Jonathan A. Sternberg
f0acb988d6
Merge pull request #8884 from influxdata/js-uint-eval
...
Implement uint64 logic into eval
2017-09-28 10:26:11 -05:00
Joe LeGasse
1443b22379
auth: add series auth to 'show tag values'
2017-09-27 20:01:18 -04:00
Jonathan A. Sternberg
d474a0ed9c
Handle UnsignedLiteral in the Reduce operations
2017-09-27 15:10:30 -05:00
Jonathan A. Sternberg
f0fb0174b6
Implement uint64 logic into eval
...
Any operation between an int64 and uint64 results in the type becoming a
uint64. This is because the most common will usually be an unsigned
cursor being modified by an int literal. Even in cases where we were to
add an unsigned literal to an integer iterator, that would just result
in it being recast back and overflow.
2017-09-27 15:10:16 -05:00
Edd Robinson
e0cba4477c
Merge pull request #8885 from influxdata/er-entry-race
...
Fix race on Cache entry
2017-09-27 18:42:45 +01:00
Edd Robinson
152b97bfc3
Merge pull request #8743 from influxdata/er-8742-go-bits
...
Prepare for Go 1.9 math/bits package.
2017-09-27 18:13:25 +01:00
Edd Robinson
d0b81c1e6c
Fix race on Cache entry
2017-09-27 18:10:23 +01:00
Jonathan A. Sternberg
963cbfd275
Update eval type for unsigned
2017-09-27 11:31:52 -05:00
Edd Robinson
a1b67160f6
Use math/bits in encoder
2017-09-26 12:51:08 +01:00
Edd Robinson
a174f65595
use math/bits in HLL implementation
2017-09-26 12:51:08 +01:00
Jason Wilder
7fed382dbf
Merge pull request #8872 from influxdata/jw-mmap
...
Fix long process stalls
2017-09-25 14:49:35 -06:00
Jonathan A. Sternberg
4e6075e819
Merge pull request #8873 from influxdata/js-emitter-unsigned-type
...
Support the unsigned type in query.Emitter
2017-09-25 15:45:28 -05:00
Jonathan A. Sternberg
1d833cd920
Support the unsigned type in query.Emitter
2017-09-25 15:08:18 -05:00
Jason Wilder
122a74c692
Use synchronous IO for wal and tsm writing
...
The fysncs due to large writes when writing to TSM files and the
WAL can eventually cause large pauses. Since we already buffer
writes, using synchronous IO reduces fsync latency by ensuring
the individiual writes hit disk. This spreads out the latecncy
across multiple writes better.
2017-09-25 12:44:57 -06:00
Edd Robinson
660c2f8ae2
Merge pull request #8847 from influxdata/er-8842-engine-races
...
Fix various engine races
2017-09-25 18:34:29 +01:00
Jonathan A. Sternberg
311f1fa619
Merge pull request #8864 from influxdata/js-8848-subquery-math-on-greater-than-two-fields
...
Prevent deadlock when doing math on the result of a subquery
2017-09-25 11:58:02 -05:00
Jonathan A. Sternberg
612ed90b53
Merge pull request #8870 from nwante/patch-1
...
simple typo fix
2017-09-25 11:49:10 -05:00
Edd Robinson
2def219f09
Refactor Shard to further protect Engine
2017-09-25 17:43:30 +01:00
Edd Robinson
4a67f92acc
Prevent store from directly accessing Shard's engine
2017-09-25 17:43:01 +01:00
Edd Robinson
8e9cabbb9c
Fix race in TagValues when reaching into engine
2017-09-25 17:43:01 +01:00
Edd Robinson
7739ff749a
Ensure engine protected by shard mutex
2017-09-25 17:42:30 +01:00
Edd Robinson
2c43654552
Add some tests for concurrent server access
2017-09-25 17:42:30 +01:00
Jason Wilder
5774b44a4c
Remove MADV_RANDOM
...
This was inadvertently added when merging the solaris and unix
mmap files. This causes large delays due to major page faults.
2017-09-25 10:25:06 -06:00
Edd Robinson
58b674d16e
Merge pull request #8857 from influxdata/er-bloom
...
Improve performance of TSI Bloom Filter
2017-09-25 16:50:09 +01:00
nwante
e995bba24e
simple typo fix
...
just a simple wording fix when I was reading the docs.
2017-09-25 08:16:57 -04:00
Adam
e442bd87ea
Master 1657 ( #8865 )
...
Bugfix, was overwriting non-static package with static package
2017-09-22 16:59:54 -04:00
Edd Robinson
dbbb1090da
Merge pull request #8863 from influxdata/er-appveyor
...
Adjust AppVeyor CI options
2017-09-22 21:41:18 +01:00
Jonathan A. Sternberg
bcf2e8fca5
Prevent deadlock when doing math on the result of a subquery
...
The `fill(none)` attribute got set on subqueries, but that can cause an
issue with certain subqueries just like it caused a deadlock on outer
queries.
2017-09-22 14:45:53 -05:00
Edd Robinson
9f3dcca512
Adjust AppVeyor CI options
...
The -race flag makes the tests timeout on the Windows VMs so we're
removing it. Race enabled tests will still happen for linux builds.
Also increases the timeout on the tests.
2017-09-22 18:30:38 +01:00
Edd Robinson
ea104596f0
Implement TSI index versioning
...
This commit adds a basic TSI versioning scheme, by adding a Version field
to an index's MANIFEST file.
Existing TSI indexes will not have this field present in their MANIFEST
files, and thus will be deemed incomatible with the current version.
Users with existing TSI indexes will be able to remove them, and convert the
resulting inmem indexes to the current version of a TSI index using the
influx_inspect tooling.
2017-09-22 17:59:39 +01:00
Edd Robinson
1028818ba6
Perf boost with some bit twiddling
2017-09-22 17:59:39 +01:00
Edd Robinson
5b7fc517fa
Improve performance of TSI bloom filter
...
This commit replaces the previous hashing algorithm used by the pkg.Filter with
one based on xxhash. Further, taking from the hashing literature, we can
represent k hashes with only two hash function, where previously Filter was using
four.
Further, unlike `murmur3`, `xxhash` is allocation-free, so allocations have
dramatically reduced when inserting and checking for hashes.
2017-09-22 17:59:39 +01:00
Edd Robinson
fe960b0f3a
Add benchmarks for bloom filter
2017-09-22 17:59:32 +01:00
Jason Wilder
1e345aa7a1
Merge pull request #8856 from influxdata/jw-cache
...
Snapshot compaction improvements
2017-09-22 10:45:54 -06:00
Edd Robinson
ccb6f7451f
Ensure importer emits errors to stderr ( #8833 )
2017-09-22 17:17:20 +01:00
Edd Robinson
e0caa2e0fd
Merge pull request #8696 from influxdata/er-8678-tsi1-where
...
Allow tag filtering when using DELETE with tsi1
2017-09-22 17:16:09 +01:00
Edd Robinson
44691847e9
Merge branch 'master' into er-8678-tsi1-where
2017-09-22 16:54:49 +01:00
Adam
80aa328be6
small bugfix in filename check for 'static' keywork ( #8861 )
2017-09-22 10:33:12 -04:00
Jason Wilder
94aba64b88
Re-use index entries slice when writing TSM index
2017-09-21 12:48:16 -06:00
Jason Wilder
db204f3eb7
Default concurrent compactions to 50% of available cores
2017-09-21 12:48:11 -06:00
Ryan Betts
5eb79f438e
Merge pull request #8852 from influxdata/rb-8816-glyphicons
...
Remove unused glyphicons package from licenses file.
2017-09-21 12:19:36 -04:00
Adam
fba7c9fc5e
Updated packaging script to better handle static packaging ( #8859 )
2017-09-20 14:04:01 -04:00
Jason Wilder
deef0c5649
Fix 32bit alignment
2017-09-20 10:00:20 -06:00
Jason Wilder
61ca1243c7
Increase index disk writer buffer
2017-09-20 09:05:30 -06:00
Jason Wilder
796de3dcea
Reduce encoder pool checkout contention
...
With higher cardinalities, the encoder pools where become a bottleneck.
This changes the snapshot compactions ot checkout one encoder of each
type and re-use it while writing the snapshots as opposed to repeatedly
checking it out and in.
2017-09-19 15:27:26 -06:00