Commit Graph

8585 Commits (45502d288f79b60051a7ec9260ad59dacb5b1a6c)

Author SHA1 Message Date
Jason Wilder a7d7c280ed Add block type to index
This will faciliate loading a block into a type specific result without
first loading the block.  This will also allow us to populate the database
index solely from the index.
2015-11-17 23:24:09 -07:00
Jason Wilder e5022a898d Support decoding into type specific slices
There is a lot of allocations performed when decoding blocks.  These
types can be re-used to reduce allocations in many cases.  This change
allows a type specific slice to be passed in to decode funcs to be re-used
if it is large enough.

The existing decode is is left for backwards compatibility but is not
very efficient right now.  It may be removed.
2015-11-17 23:24:09 -07:00
Jason Wilder 5a12c49475 Make type specific decoders exported 2015-11-17 23:24:09 -07:00
Jason Wilder d517bad6f2 Add BlockType func
Allows the block type to be determined without decoding all the values.
2015-11-17 23:24:09 -07:00
Michael Desa d7ab255923 Merge pull request #4830 from influxdb/md-fix
Update to new v2 client
2015-11-17 15:08:04 -08:00
Michael Desa e045e997f7 Update to new v2 client 2015-11-17 14:56:47 -08:00
Michael Desa 9a5120b2a3 Merge pull request #4742 from influxdb/md-new-stress
WIP: Refactor Stress tool
2015-11-17 14:42:51 -08:00
Michael Desa eb0e760763 Update stress config examples 2015-11-17 14:36:10 -08:00
Ross McDonald 90daffe6c0 Merge pull request #4828 from influxdb/package-fix
0.9.5rc3 Package Fix
2015-11-17 15:57:07 -06:00
Ross McDonald df46eeb48f Fixed issue where pre-install script would attempt to copy to a non-existent directory. 2015-11-17 15:29:51 -06:00
Michael Desa b86c0d31d7 Refactor stress tool
Add StressTest type and auxillary interfaces

Add config structs

Move generator to config

Add utility methods used in stress

Add basic components for a stress test

Add touches

Add configuration options

Add unified results handlers

Add final print out of results

Add Success function to response type

Add query support

Send query results

Add comments to run.go

Change Basic to BasicWriter

Add basic query

Add incomplete README

Abstract out response handling

Change plugin to basic

Add responseHandler type

Add additional parameter to Query function

Add todo comments and cleanup main

Lower hard coded value

Add flag for profiling

Fix race condition

Wait at the right place

Chane point from struct to interface

Improve generic write throughput

Reorganize

Fastest State

Add toml config

Add test server

Add basic working version of config file

Move config file logic into its own file

Fix broken config file

Add query count to stress config

Add support for concurrency and batch interval

Reorder config option

Remove unneeded init

Remove old stress package

Move new stress code into stress directory

Rework influx_stress tool

Do something reasonable if no config is given

Remove unneeded comments

Add tests for stress package

Add comments and reorganize code

Add more comments

Count lines posted correctly

Add NewConfig method

Fix style issues

Add backticks to flag description

Fix grammar

Remove `StartTimer` calls where appropriate

Fix comment language

Change Reader to Querier

Reorder defer

Fix issues bought up by golint

Add more comments

Add more detailed Readme

Increase counter appropriately

Add return errors where appropriate

Add test coverage

Move `now()` from QueryClient to QueryGenerator
2015-11-17 12:16:31 -08:00
Philip O'Toole 1448d53d6e Merge pull request #4826 from influxdb/clone_should_sort
Clone should sort values
2015-11-17 12:06:49 -08:00
Philip O'Toole 6aede8f562 Clone should sort values
This code may actually change soon due to internal design changes, but
this will ensure testing output is constant.
2015-11-17 11:59:50 -08:00
Philip O'Toole 76b02c9143 Merge pull request #4812 from influxdb/checkpointed_wal_tsm_cache
Checkpointed WAL tsm1 cache
2015-11-17 11:27:00 -08:00
Jason Wilder bd0a89bb00 Merge pull request #4808 from influxdb/jw-tsm
Add FileStore for TSM files
2015-11-17 12:11:26 -07:00
Jason Wilder 7c7a68d783 Small cleanups 2015-11-17 11:30:29 -07:00
liang@qiniu.com a712a1c2b6 updated CHANGELOG.md 2015-11-18 01:28:09 +08:00
liang@qiniu.com 4026236659 fix issue 4801 2015-11-18 00:56:05 +08:00
Cory LaNou c12881ff10 Merge pull request #4822 from influxdb/fix-4193
Fix time inclusive comparison
2015-11-17 10:50:51 -06:00
Cory LaNou 6309ec9a68 fix time inclusive comparison 2015-11-17 10:43:27 -06:00
Philip O'Toole b46e10e40c Merge pull request #4818 from CrazyJvm/cluster-panic
check point without fields when NewPoint
2015-11-17 08:29:18 -08:00
Cory LaNou 5ff8e8c4cb Merge pull request #4821 from influxdb/refactor-new-point-heap
Refactor newPointHeap
2015-11-17 10:11:04 -06:00
Philip O'Toole 4281da6688 Correct WAL logging enabled flag
[ci skip]
2015-11-17 08:07:55 -08:00
Cory LaNou c24c2f720a refactor newPointHeap 2015-11-17 09:17:35 -06:00
CrazyJvm 6e60e3226a check point without fields when NewPoint 2015-11-17 13:21:52 +08:00
Philip O'Toole 6e4150acfd Merge pull request #4802 from nii236/lint/service/admin
linted service/admin
2015-11-16 19:57:45 -08:00
Philip O'Toole d8ea132c53 Add WAL cache 2015-11-16 19:52:49 -08:00
Cory LaNou e08dfe198d Merge pull request #4809 from influxdb/fix-4235
Fix Order By Desc
2015-11-16 15:23:06 -06:00
Cory LaNou 824d7a1d9b Add interface for heap to support Reverse for `order by desc` 2015-11-16 15:10:55 -06:00
Ross McDonald 736e0ace84 Merge pull request #4786 from influxdb/package-updates
Backporting changes from build.py to package.sh
2015-11-16 13:32:43 -06:00
Ross McDonald b53ebe9d5d Backporting changes from build.py to package.sh. Also fixes a few miscellaneous package permissions issues that Debian's lintian complained about. 2015-11-16 13:19:54 -06:00
Philip O'Toole 7e3a3e0e64 Merge pull request #4804 from nii236/lint/services/admin
fixed export lint issues in services/admin
2015-11-16 09:19:07 -08:00
Jason Wilder 9c2be12b65 Add FileStore.Remove func
Allows a TSMFile to be removed from the active set of files managed
by the FileStore.
2015-11-16 09:16:10 -07:00
Jason Wilder c2530e93d7 Add mutexes around seeker usage
These are not goroutine safe.
2015-11-16 09:05:27 -07:00
Jason Wilder ef18f8afb2 Handle TSM key deletions
This writes a tombstone file containing a line per deleted key. This
file is read when a TSMReader is created and any keys listed in the file
are removed from the index.
2015-11-16 08:44:52 -07:00
Jason Wilder ed7cfb6df3 Add Keys function to TSMIndex
Useful for testing
2015-11-16 08:44:52 -07:00
Jason Wilder d8c0c26934 Return error if number of blocks would overflow 2015-11-16 08:44:52 -07:00
Jason Wilder 16c5e0a2e0 Add Close to TSMWriter interface 2015-11-16 08:44:52 -07:00
Jason Wilder b279534f2a Remove type specific casts in encoders
This prevented the encoders from using other implementations of the Value
interface because it would always cast one of the types to our specific
implementations.
2015-11-16 08:44:52 -07:00
Jason Wilder 0ab423c7ff Initial FileStore implementation
Provides functionality to load a directory of TSM files (or add them manually)
as well as reading blocks of values for individual key and times.
2015-11-16 08:44:52 -07:00
Yin Jifeng 2f3fc70514 FIX #4279 CLI support multiline 2015-11-16 22:59:21 +08:00
John Nguyen cfbfbc2361 corrected URL 2015-11-16 17:37:01 +08:00
John Nguyen 90ea3fc4ad updated CHANGELOG.md 2015-11-16 17:36:21 +08:00
John Nguyen 63e958f06e fixed export lint issues in services/admin 2015-11-16 17:31:53 +08:00
John Nguyen 21de6748d7 linted service/admin 2015-11-16 15:22:42 +08:00
Mateusz Dymiński 8090ba6830 SHOW SHARD GROUPS 2015-11-14 22:27:24 +01:00
Cory LaNou 43a4201a33 update changelog for 4768 2015-11-14 07:27:41 -06:00
Cory LaNou bb00645a84 Merge pull request #4768 from pires/4719-cli_history_refactor
CLI history skips blank lines.
2015-11-14 07:25:58 -06:00
Paulo Pires a8fa170f29 Removed bogus comment. 2015-11-14 11:12:31 +00:00
Philip O'Toole 69803ddc6f Merge pull request #4791 from orthogonous/master
Added some comments to the udp service so golint passes. Ref #4098
2015-11-13 19:10:49 -08:00