Commit Graph

2599 Commits (e9894430908c1abd11d3c8a78daa9ced1dee1181)

Author SHA1 Message Date
Russ Savage 3e6ac0cc1e
adding local metrics dashboard for quickstart (#13715)
Adding local metrics dashboard for quickstart
2019-04-30 12:31:39 -07:00
Andrew Watkins f2fd7d6728
feat(ui/explorer): add imports to flux scripts (#13711)
* fix(ui) Update flux function docs and examples

* add package property to FluxToolbarFunction

* added package property to built-in flux functions

* added package propert to the toFloat function

* prettified fluxFunction.ts

* updated columns parameter on derivative function

* added newline after derivative desc for prettier fluxFunction.ts

* chore(e2e): updsate cypress to 2.0

* feat(query-builder): add import statements

* wip

* feat(ui/builder): simplify import addition logic

* test: remove only

* chore: linting

* test: string organization
2019-04-29 21:56:36 -07:00
Russ Savage 0983797b14
updated markdown link to a more useful site (#13602)
* updated markdown link to a more useful site
2019-04-24 17:03:46 -07:00
Iris Scholten cdb325d0e0 fix(ui): Display error message from writing line protocol 2019-04-24 14:26:41 -07:00
Iris Scholten ad0b0891de
Merge pull request #13601 from influxdata/feat/buckets-token
feat(ui): Add option to generate read / write token
2019-04-24 11:19:41 -07:00
Iris Scholten 62f2d632e5 feat(ui): Add option to generate read / write token 2019-04-24 11:09:12 -07:00
alexpaxton 191c16c474
Use DapperScrollbars in inline label editor (#13584)
* wip

* Minor tweaks

* Updoot
2019-04-23 14:56:01 -07:00
alexpaxton 17caffe309
Fix Dropdown Overlapping Dot & Text (#13585)
* Only remove item padding when mode is action list and no selectedID is passed in

* Updoot
2019-04-23 12:10:28 -07:00
Iris Scholten 0f01067f60 feat(ui): Add option to generate an all access token 2019-04-22 17:58:50 -07:00
Delmer Reed 4684b9fac0 feat(ui/buckets): add buckets danger zone
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-04-19 17:02:45 -04:00
Lyon Hill 726fbefe9a
Integrate the new changes to tasks (#13473)
* Integrat the new changes to tasks
2019-04-19 08:37:59 -06:00
Iris Scholten 24bd1850a6 feat(ui): Add orgname to dashboard page title 2019-04-18 12:57:29 -07:00
Iris Scholten 5fbca241d6 feat(ui): Add ability to rename org 2019-04-17 16:57:18 -07:00
alexpaxton 2b8c17b767
Polish Create From Template Overlay (#13424)
* Move and rename components

* Break overlay into subcomponents

* Create empty state with link when no templates exist

* Break down template overlay components further

* Enable scrolling in overlay

Use custom UI instead of responsive grid

* Updoot changelog

* Fix e2e test

* Improve readability of code

* Import types from src/types instead of directly from client

* Import type from src/types instead of directly from client

* Do not display version of template in details panel

* WIP import types from src/types instead of directly from client

* Fix template types
2019-04-16 13:58:27 -07:00
Iris Scholten a14e64af27 feat(ui): Set autorefresh of that dashboard to pause if absolute time range is selected 2019-04-16 10:45:36 -07:00
Russ Savage 2c4deb8b96
Update for alpha 8 release 2019-04-12 15:39:33 -07:00
Russ Savage 70100b2f98
adding new default template for getting started with flux (#13345)
* adding new default template for getting started with flux
2019-04-12 13:10:04 -07:00
Iris Scholten 7c0d4f85c3 feat(ui): sync note editor text and preview scrolling 2019-04-10 16:44:31 -07:00
Alirie Gray 8af997e490 feat(nav): allow user to switch orgs from the navbar 2019-04-04 16:08:57 -07:00
Palak Bhojani dbfe926ea0 Add the ability to add labels on variables 2019-04-04 11:21:36 -07:00
Alirie Gray bceac1ab97 feat(dashboards): add overlay to create dashboard from template 2019-04-02 14:33:04 -07:00
Palak Bhojani 2683651b8c Add the ability to edit token's description 2019-04-01 09:27:00 -07:00
Russ Savage 3ceae6198a
Updating for alpha 7 (#13006) 2019-03-28 17:54:27 -07:00
alexpaxton 133b131617
Introduce DapperScrollbars (#12961)
* Install new scrollbars library

* First pass at new wrapper for scrollbars

* Replace FancyScrollbars with DapperScrollbars in Page components

* Polish DapperScrollbars

* Update dropdown component to use DapperScrollbars

* Update a couple dropdowns to conform to new constraints

* Update legend to use Dapper Scrollbars

* Fix linting error

* Implement DapperScrollbars in overlays

* Ensure proper functionality in page contents

* Use fixed sizing for overlay scrollbars

* Updoot
2019-03-28 15:05:26 -07:00
Iris Scholten d7780e107e
Merge pull request #12958 from influxdata/feat/import-variables
feat(ui): Create import overlay to import variables
2019-03-27 15:23:06 -07:00
Christopher Henn 9252677b89 Fix routing loop (#12959) 2019-03-27 15:22:48 -07:00
Iris Scholten d4b3de6a83 feat(ui): Create import overlay to import variables 2019-03-27 15:05:56 -07:00
Alirie Gray 358b065f0c feat(templates): add ability to update template name inline 2019-03-27 11:20:58 -07:00
Palak Bhojani aa79a26a71 Add the ability to clone a template 2019-03-26 15:32:20 -07:00
Iris Scholten 30a704f406 feat(ui): Persist variables control bar preferences 2019-03-26 13:57:47 -07:00
Palak Bhojani 1e1f57dfdb Add the ability to delete a template
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2019-03-26 09:43:20 -07:00
Alirie Gray 85e44b2ce3 feat(dashboard): add ability to change order of variable dropdowns 2019-03-25 12:40:46 -07:00
Palak Bhojani 1f8cb6eee8 Add the ability to enable or disable a token 2019-03-25 11:29:56 -07:00
Christopher Henn 7d7d366684 Surface errors appearing within Flux tables 2019-03-25 10:20:28 -07:00
Iris Scholten 433f99f994 ensure editor is focused when editing/creating note 2019-03-22 15:00:59 -07:00
Iris Scholten 95b005e8a2 Add copy button to export overlays 2019-03-22 13:26:49 -07:00
Christopher Henn 3615f84454 Fix Raw Data view screen tearing bug 2019-03-22 09:35:34 -07:00
Iris Scholten fb9434cbf8 fix(ui): Stop hiding horizontal scrollbar in flux raw data view
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-03-20 16:03:32 -07:00
Christopher Henn 60ae4628a4 Use selected time range for metaqueries in DE 2019-03-20 15:44:21 -07:00
Alirie Gray 5bf72b962d fix(tasks): clear existing task schedule when changing types 2019-03-20 15:03:13 -07:00
Alirie Gray 8a3a6ff1e5 fix(configuration): check everySeconds on retentionRule on create bucket 2019-03-20 13:36:26 -07:00
alexpaxton b1d8325207
Move bucket selection to first card in Query Builder (#12782)
* Break out raw data toggle into own component

* Move bucket selection into "first" card in query builder

* Appease linter gods

* Updoot
2019-03-20 13:06:30 -07:00
Iris Scholten 452dd5a30c Update the scrapers and variables empty state to match other org views 2019-03-19 16:31:37 -07:00
Alirie Gray 4309a70c1b
Merge pull request #12706 from influxdata/feat(variables)/add-to-script-from-side-menu
feat(variables): add ability to add a variable to script from side menu
2019-03-19 09:52:47 -07:00
Alirie Gray e8ffda2a62 feat(variables): add ability to add a variable to script from side menu 2019-03-19 09:41:22 -07:00
Brandon Farmer 4fc97b1912 Move add note overlay to react router
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-03-18 16:20:27 -07:00
Alirie Gray 260c61262f feat(dashboards): add variable control bar for selecting values
Co-Authored-By: Alex Paxton <thealexpaxton@gmail.com>
2019-03-18 13:59:38 -07:00
Christopher Henn 243f1ea511 Enable selecting variable values in time machine 2019-03-18 11:40:39 -07:00
Iris Scholten 2bf7c0aa4f fix(ui): Fix mismatch in bucket row and header 2019-03-18 10:57:17 -07:00
Iris Scholten e250eb1977 feat(ui): Update flux functions insertion from toolbar to add to current line or below 2019-03-15 17:24:01 -07:00
Russ Savage 0a9ad0c04e
Update changelog for alpha 6 (#12662)
* Update changelog for alpha 6 again
2019-03-15 19:54:00 -04:00
Russ Savage 966ff97735
Update Changelog for Alpha 6 (#12660)
* Update Changelog for Alpha 6
2019-03-15 19:30:55 -04:00
Iris Scholten d9b416ae06 Stop scrollbars from covering text in flux editor 2019-03-15 09:35:58 -07:00
alexpaxton 4b53d29b63
Fine tune inline label keyboard interactions (#12610)
* Fine tune keyboard shortcuts during inline label flow

* Update changelog

* Update label type in mocks

* WIP Add unit tests for inline label editing components

* WIP Add unit tests for inline interactions

* Write slightly more integrated test

* Just a couple more unit tests

* Add missing key to element in map

* Fix e2e tests
2019-03-14 13:15:21 -07:00
Stuart Carnie c7c58275f9
feedback(influxd): Respond to PR feedback
* Add CHANGELOG entry
* Remote erroneous comment
2019-03-14 09:23:53 -07:00
Alirie Gray 464629194d feat(explorer): add save as variable overlay 2019-03-12 12:42:09 -07:00
Iris Scholten d0a76ddde7 feat(ui): Show dashboard export button 2019-03-11 17:16:29 -07:00
Iris Scholten 5850dacd8b feat(ui/dash): Add import dashboard button to org view 2019-03-11 16:15:42 -07:00
Iris Scholten 3b77ec9456
Merge pull request #12496 from influxdata/feat/import-dashboard
feat(ui/dash/import): create dashboards from imported templates
2019-03-11 11:45:24 -07:00
Iris Scholten 9114362b39 feat(ui/dash/import): create dashboards from imported templates 2019-03-11 11:35:12 -07:00
alexpaxton 1c72fb3fc1
Polish Label Color Picker (#12464)
* WIP introduce color picker component

* revert this commit

* Polish appearance of color selector

* Allow color picker to conform to its parent's size

* Replace label color dropdown with clockface color selector

* Add testID props to color picker and associated components

* Update changelog

* Fix snapshot test

* Remove temporary debugging code for color picker

* Refactor color picker to be a controlled component

* Update snapshots
2019-03-11 10:27:23 -07:00
Russ Savage 86613fa9b6
updating changelog for release 2019-03-08 15:24:23 -05:00
alexpaxton 1e2d40c1c3
Update changelog (#12458) 2019-03-08 09:38:10 -08:00
Palak Bhojani 834f6d0b75 Add the ability to remove a member from org 2019-03-07 14:52:58 -08:00
Edd Robinson 40b53d40ab Update CHANGELOG 2019-03-07 11:35:19 +00:00
Palak Bhojani 18574c57a3 Add the ability to add members to an org 2019-03-06 15:09:08 -08:00
Iris Scholten a4c0d127a0 fix(ui): update z-index of cells when hovered
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-03-05 16:04:33 -08:00
alexpaxton 818c6279a8
Polish/scraper overlay (#12317)
* Condense layout of scraper form

* Introduce overlay component for creating scrapers

* Simplify Bucket selection dropdown

* Relocate create scraper overlay component

* Introduce create scraper form component

* Add missing blank header cell to scrapers table

* Fix URL validation

* WIP cleanup

* Use CreateScraperOverlay in buckets list

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Remove unused components and update tests a little bit

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update unit tests

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Allow override of initial bucket selection in create scraper overlay

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Disable scraper/collector create button and show warning when no buckets exist

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Introduce alert component in clockface

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Use alert component in no buckets warning

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update scraper e2e tests

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update changelog

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>
2019-03-04 15:39:23 -08:00
alexpaxton e5c6509ef3
Redesign Note Editor Overlay (#12304)
* Redesign note editor to display the preview side by side with the editor

* Update changelog
2019-03-01 12:53:27 -08:00
alexpaxton 86f5753b55
Polish/code snippets (#12302)
* Refactor CopyText component into CodeSnippet component

* Update instances of code snippet

* Force code snippet contents to wrap

* Update changelog
2019-03-01 12:33:37 -08:00
Delmer 5a63037e76
feat(ui/labels/click): add searchTerm updating for label clicks (#12111) 2019-02-27 14:21:21 -05:00
Iris Scholten ed39dc5e46 feat(ui): Clone a task's labels when cloning the task
Move task cloning logic to external client library
2019-02-22 09:53:36 -08:00
Russ Savage 8016599605
Updating changelog for alpha 4 2019-02-21 16:43:31 -08:00
Delmer bf34b35fb4
fix(ui/changelog): add labels changes to changelog v2.0.0-alpha.4 (#12084) 2019-02-21 18:39:56 -05:00
Palak Bhojani a893e7fe1b Update admin to show error if password is not 8 characters 2019-02-21 13:30:54 -08:00
Iris Scholten 0e6e87f374
Merge pull request #12026 from influxdata/fix/clone-dashboard-labels
update client libarary dependency for dashboard cloning
2019-02-20 16:52:09 -08:00
Iris Scholten eccee09a20 update client libarary dependency for dashboard cloning 2019-02-20 16:26:56 -08:00
Palak Bhojani 69815230a8 Add notifications for success/failed when creating/deleting/updating buckets 2019-02-20 15:19:21 -08:00
Palak Bhojani fb7a3aa93b Add notifications for success/failed when creating/updating/deleting scrapers 2019-02-20 14:12:57 -08:00
Iris Scholten 9e6c1b925d fix(ui): Update the label preview to be shorter 2019-02-20 13:47:35 -08:00
Alirie Gray 9ccb785747 Add ability to update a variable 2019-02-20 12:04:16 -08:00
Iris Scholten 3c933d49e1
Merge pull request #12009 from influxdata/feat/login-version
feat(ui): Display version on login page
2019-02-20 11:51:16 -08:00
Iris Scholten 988dda2398 feat(ui): Display version on login page 2019-02-20 11:30:07 -08:00
Palak Bhojani 55bf3d1679 Update retention policy for bucket if time changes 2019-02-20 10:16:05 -08:00
Iris Scholten f9aab0f2b8 feat(ui): Add custom time range in time range dropdown
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2019-02-19 16:43:13 -08:00
Delmer a5f51c61af
fix(ui): add ordering to org resources (#11938)
fix(ui): add ordering to org reosources
2019-02-19 12:34:06 -05:00
Palak Bhojani 93f0acfb38 Add the ability to run a task manually
Co-authoerd-by: Delmer Reed <delmer814@gmail.com>
2019-02-15 14:16:59 -08:00
Russ Savage eb32f5bfc4
updated changelog for Alpha.3 release 2019-02-15 13:59:00 -08:00
Palak Bhojani 43979527e1 Combine permisssions in the ui on token overlay 2019-02-14 11:19:55 -08:00
Iris Scholten fdb4d2eee7 Fix overlapping buttons and clean up data-loading styles
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2019-02-13 11:32:08 -08:00
Iris Scholten d5ff6e9bb9 fix(ui): Ensure template dashboard only gets created on config creation 2019-02-13 10:10:02 -08:00
Palak Bhojani 45b001c509 Add the ability to view logs for a specific task run 2019-02-12 14:18:35 -08:00
Alirie Gray d3d1fef993 Add UI for creating a template variable 2019-02-12 12:49:23 -08:00
Palak Bhojani 76f3bc1ddf Update TasksList to display last run date 2019-02-12 11:30:26 -08:00
Palak Bhojani fa220dbf73 Update Editable name to not allow empty string inline edit 2019-02-12 10:46:48 -08:00
Iris Scholten 3d810a9ce5 feat(ui): Display scraper name in scrapers list 2019-02-12 10:13:02 -08:00
Iris Scholten e04e721bf5 feat(ui): Add the ability to name a scraper target 2019-02-11 17:04:29 -08:00
Palak Bhojani 5655a06be2 Merge branch 'feat/dashboards-container-org' of github.com:influxdata/influxdb into feat/dashboards-container-org 2019-02-08 11:03:40 -08:00
Palak Bhojani 0cc3dd0224 Update Org page to include Dashboards components 2019-02-08 09:38:22 -08:00
Iris Scholten 53db6ddaa1 feat(ui/dataLoaders): Move download config into view overlay 2019-02-07 17:22:36 -08:00
Russ Savage 9ec9d8bf9f
update changelog for alpha 2 release 2019-02-07 16:37:35 -08:00
Palak Bhojani 25cd62b476 Update Org page to include Dashboards components 2019-02-07 13:43:50 -08:00
Palakp41 e351789622
Merge pull request #11745 from influxdata/fix/swap-retention-policy-buckets
Swap retention policy on Create bucket overlay
2019-02-06 18:37:12 -08:00
Palak Bhojani c17b8e6132 Swap retention policy on Create bucket overlay 2019-02-06 16:37:24 -08:00
Iris Scholten 09632a23d6 Add a button to view the telegraf config toml 2019-02-06 16:30:18 -08:00
Palakp41 e835033dba
Merge pull request #11739 from influxdata/fix/route-tasks-adminui
Update routes to create, update and select task from org page
2019-02-06 16:18:14 -08:00
Palak Bhojani 078ff6db09 Update routes to create, update and select task from org page
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-02-06 16:01:39 -08:00
Michael Desa 386c70ea0d fix(influxdb): revert functionality added in pr#10947 2019-02-06 15:54:09 -05:00
Iris Scholten 1f8121883e fix(ui/dataLoaders): Move plugins sidebar into only collectors configure step
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2019-02-06 09:42:55 -08:00
Delmer 86346bc8d5
fix(ui): show checked on multidropdown (#11711) 2019-02-06 12:05:36 -05:00
Delmer 48c9b6689b
fix(ui): show telegraf config instructions (#11677)
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-02-06 12:04:30 -05:00
alexpaxton cd6fb3cd67
Improve Clockface Spinners (#11697)
* Introduce spinner container and techno spinner

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Replace unstyled "Spinner" component with spinner container / techno spinner combo

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Replace instances of Spinner with SpinnerContainer

* Replace instances of PageSpinner with SpinnerContainer

* Cleanup

* Updoot

* Improve changelog message
2019-02-05 17:33:44 -08:00
Iris Scholten 26e2a15f3a feat(ui/dataLoaders): Use env var for telegraf config auth token instead of auth token 2019-02-05 14:19:58 -08:00
Iris Scholten 04e36b18f0 fix(ui/dataLoaders): Update the collectors configure step button to 'Create and Verify' 2019-02-05 13:32:47 -08:00
Iris Scholten b7032764d3 fix(ui/dataLoaders): Update plugin config button to 'Done' 2019-02-05 11:36:32 -08:00
Iris Scholten fd974fb6b6 fix(ui/dataLoaders): Add swap to system bundle 2019-02-05 10:59:37 -08:00
Chris Goller b2aceed6bd doc(CHANGELOG): add initial changelog for 2.0
Co-authored-by: Luke Morris <lukevmorris@gmail.com>
Co-authored-by: Mark Rushakoff <mark@influxdata.com>
2019-01-23 15:14:11 -06:00
Mark Rushakoff f2898d1992 Wipe out workspace in preparation for v2 merge
"Knock knock."

"Who's there?"

"InfluxDB Veet."

...
2019-01-11 10:38:50 -08:00
Hercules Mango Churchill a62e7864bb Update changelog 2019-01-09 23:10:14 +00:00
Hercules Mango Churchill 7db3db278b Update changelog 2018-12-20 22:10:34 +00:00
Hercules Mango Churchill 3b22abc962 Update changelog 2018-12-10 18:04:13 +00:00
Hercules Mango Churchill 10e013ddb2 Update changelog 2018-12-04 14:48:59 +00:00
Hercules Mango Churchill f2cf118473 Update changelog 2018-11-19 19:05:18 +00:00
Jonathan A. Sternberg ebafd3714a
Update changelog 2018-11-05 12:28:50 -06:00
miya-masa c19788030d
Add the `QueryAsChunk` method to v2 client 2018-10-30 09:06:16 -05:00
Hercules Mango Churchill 6a98bb8aa4 Update changelog 2018-10-26 18:11:29 +00:00
Stuart Carnie 82447f1afe chore: Update changelog noting #10408 2018-10-25 11:32:33 -07:00
Hercules Mango Churchill 432f9eaf31 Update changelog 2018-10-17 14:53:08 +00:00
Hercules Mango Churchill 772a44eddf Update changelog 2018-10-16 13:34:47 +00:00
Hercules Mango Churchill b235036661 Update changelog 2018-10-10 14:12:37 +00:00
Hercules Mango Churchill 86ac358448 Update changelog 2018-10-09 16:08:23 +00:00
Hercules Mango Churchill 13e3dd5828 Update changelog 2018-10-08 14:35:28 +00:00
Hercules Mango Churchill 576c14c018 Update changelog 2018-10-08 14:31:38 +00:00
Hercules Mango Churchill 634f4219fd Update changelog 2018-10-04 18:55:37 +00:00
Jonathan A. Sternberg ad83a19ad9
Merge pull request #10333 from influxdata/js-subquery-fixes
Assorted fixes to subquery regressions in 1.6
2018-10-04 13:55:21 -05:00
Jonathan A. Sternberg 22fc9f6a19
Strip tags from a subquery when the outer query does not group by that tag
The following would, erroneously, not strip the tag from the inner
query:

    SELECT value FROM (SELECT value FROM cpu GROUP BY host)

The inner query was supposed to group by the host tag, but the outer
query should strip it away since it is not being grouped by anymore.
This fixes things so that the result will have the tags stripped away
when they are not requested in the grouping.
2018-10-04 10:05:46 -05:00
Jonathan A. Sternberg 634471f12e
Fix subquery functionality when a function references a tag from the subquery
It has previously been allowed for a subquery to use a tag within a
function (such as `count()`) when the tag is from a subquery and the
subquery itself references a field at some point to perform the join.

This functionality regressed in 1.6 because of a change in how
subqueries were executed that forgot to treat a tag the same as a string
field.

This fixes that regression and adds a test case to avoid hitting that
regression again.
2018-10-04 10:05:20 -05:00
Hercules Mango Churchill c6889b1a95 Update changelog 2018-10-02 14:43:52 +00:00
Hercules Mango Churchill 05acc10f0f Update changelog 2018-09-10 15:57:12 +00:00
Jonathan A. Sternberg 237801c212 Fixing the changelog
Since there is no v1.6.0 in the revision list for the changelog, it
assumes that the current commits are for 1.6.0.
2018-08-31 09:32:19 -05:00
Jonathan A. Sternberg c4f26dd62c Update changelog 2018-08-31 09:29:56 -05:00
Hercules Mango Churchill cfd4b0d35d Update changelog 2018-08-23 17:17:43 +00:00
Hercules Mango Churchill a8fd8d787d Update changelog 2018-08-21 17:27:43 +00:00
Hercules Mango Churchill ccc4fae0b5 Update changelog 2018-08-10 15:52:39 +00:00
Hercules Mango Churchill 0c724f1ce4 Update changelog 2018-08-10 13:50:59 +00:00
Hercules Mango Churchill 1320c09edd Update changelog 2018-08-09 18:21:02 +00:00
Jonathan A. Sternberg beae42a090
Merge pull request #10151 from influxdata/js-480-config-flux-section
Modify the `ifql` section to `flux`
2018-08-08 11:26:33 -05:00
Hercules Mango Churchill 3c94ab188b Update changelog 2018-08-07 16:23:18 +00:00
Hercules Mango Churchill 3f49ab190e Update changelog 2018-08-03 17:55:28 +00:00
Jonathan A. Sternberg be83e81102 Modify the `ifql` section to `flux`
Mark the breaking changes in the changelog.
2018-08-02 15:50:23 -05:00
Hercules Mango Churchill 3e12599a44 Update changelog 2018-07-31 16:29:17 +00:00
Hercules Mango Churchill 818b1838de Update changelog 2018-07-18 17:50:50 +00:00
Hercules Mango Churchill e4384fe1c2 Update changelog 2018-07-18 16:41:16 +00:00
Edd Robinson 5641b2ef32
Merge pull request #10067 from influxdata/cl-master
Update CHANGELOG on master for 1.5.x releases and 1.6 release date.
2018-07-18 17:40:58 +01:00
Hercules Mango Churchill 4c7de894f2 Update changelog 2018-07-18 13:18:34 +00:00
Gershon Shif bb1db2eb52 updated 1.6.0 releade date 2018-07-13 13:28:24 -07:00
Jacob Marble dda1ae0cde Update changelog for #10005 2018-07-13 13:07:18 -07:00
timhallinflux adbfee28b3
Update CHANGELOG.md
Fixed year.  Put time machine back into storage.
2018-07-11 11:29:04 -07:00
timhallinflux 9c21c4120f
Update CHANGELOG.md
Update to include release date for 1.6 and maintenance releases for 1.5.x where x > 0
2018-07-11 01:41:19 -07:00
Hercules Mango Churchill ab786a1331 Update changelog 2018-07-10 15:16:49 +00:00
Hercules Mango Churchill ba38447e60 Update changelog 2018-07-05 17:20:45 +00:00
Hercules Mango Churchill 48797873ee Update changelog 2018-06-28 16:25:36 +00:00
Hercules Mango Churchill aed6b23cc8 Update changelog 2018-06-26 17:27:21 +00:00
Gershon Shif 6befcba50f Added the description for PR 9996 2018-06-22 13:50:55 -07:00
Hercules Mango Churchill 0a4f9dc1a2 Update changelog 2018-06-22 18:20:12 +00:00
Hercules Mango Churchill 5414d37e3d Update changelog 2018-06-15 13:30:42 +00:00
Hercules Mango Churchill 968a390621 Update changelog 2018-06-14 00:50:14 +00:00
Jonathan A. Sternberg 87d2469877
Merge pull request #9964 from influxdata/js-enable-storage-service
Enable the storage service by default
2018-06-13 16:28:27 -05:00
Hercules Mango Churchill 2be1620c32 Update changelog 2018-06-13 20:06:27 +00:00
Hercules Mango Churchill 81e32387f0 Update changelog 2018-06-13 17:21:00 +00:00
Jonathan A. Sternberg 17ca220f33 Enable the storage service by default 2018-06-13 10:56:50 -05:00
Hercules Mango Churchill 1a16a4ec61 Update changelog 2018-06-01 15:32:21 +00:00
Hercules Mango Churchill 3ccc076b0f Update changelog 2018-05-31 20:49:41 +00:00
Hercules Mango Churchill 8efed00569 Update changelog 2018-05-30 19:44:28 +00:00
Hercules Mango Churchill 590d4d4fee Update changelog 2018-05-17 18:25:19 +00:00
Hercules Mango Churchill 86b90960a0 Update changelog 2018-05-17 17:35:51 +00:00
Hercules Mango Churchill e9605f8077 Update changelog 2018-05-15 17:51:35 +00:00
Hercules Mango Churchill 61bd9d386b Update changelog 2018-05-10 19:40:18 +00:00
Jacob Marble 5ac5fe2f9c Add missing entry to changelog 2018-05-03 09:34:44 -07:00
Hercules Mango Churchill 0f90374627 Update changelog 2018-05-02 13:29:24 +00:00
Hercules Mango Churchill 3a9a046b59 Update changelog 2018-05-01 20:08:52 +00:00
Hercules Mango Churchill ef505542ad Update changelog 2018-04-30 21:38:26 +00:00
Hercules Mango Churchill c3138fa926 Update changelog 2018-04-26 09:56:08 +00:00
Hercules Mango Churchill de942aca52 Update changelog 2018-04-26 09:42:32 +00:00
Hercules Mango Churchill bac46fd1bb Update changelog 2018-04-24 16:06:02 +00:00
Hercules Mango Churchill c3af5bb845 Update changelog 2018-04-23 21:26:02 +00:00
Hercules Mango Churchill fbb3486352 Update changelog 2018-04-23 18:10:13 +00:00
Hercules Mango Churchill 1bf0d16dbf Update changelog 2018-04-20 14:14:40 +00:00
Hercules Mango Churchill 12b1ecc40e Update changelog 2018-04-17 19:49:05 +00:00
Hercules Mango Churchill 4337f5a547 Update changelog 2018-04-05 20:03:07 +00:00
Hercules Mango Churchill 38d2d29f79 Update changelog 2018-04-04 21:16:18 +00:00
Hercules Mango Churchill 7576bed1ec Update changelog 2018-03-31 16:16:51 +00:00
Hercules Mango Churchill 8682fa9c3e Update changelog 2018-03-29 21:17:54 +00:00
Hercules Mango Churchill d4690eab2e Update changelog 2018-03-29 19:55:19 +00:00
Hercules Mango Churchill 50ef2907c6 Update changelog 2018-03-29 17:59:47 +00:00
Hercules Mango Churchill 3a85586618 Update changelog 2018-03-28 18:09:15 +00:00
Hercules Mango Churchill fd3c9c7de2 Update changelog 2018-03-27 16:19:59 +00:00
Hercules Mango Churchill 50ea3f8506 Update changelog 2018-03-21 20:36:45 +00:00
Hercules Mango Churchill 307aac873a Update changelog 2018-03-21 00:02:49 +00:00
Jonathan A. Sternberg f8d60a881d Refactor the math engine to compile the query and use eval
This change makes it so that we simplify the math engine so it doesn't
use a complicated set of nested iterators. That way, we have to change
math in one fewer place.

It also greatly simplifies the query engine as now we can create the
necessary iterators, join them by time, name, and tags, and then use the
cursor interface to read them and use eval to compute the result. It
makes it so the auxiliary iterators and all of their complexity can be
removed.

This also makes use of the new eval functionality that was recently
added to the influxql package.

No math functions have been added, but the scaffolding has been included
so things like trigonometry functions are just a single commit away.

This also introduces a small breaking change. Because of the call
optimization, it is now possible to use the same selector multiple times
as a selector. So if you do this:

    SELECT max(value) * 2, max(value) / 2 FROM cpu

This will now return the timestamp of the max value rather than zero
since this query is considered to have only a single selector rather
than multiple separate selectors. If any aspect of the selector is
different, such as different selector functions or different arguments,
it will consider the selectors to be aggregates like the old behavior.
2018-03-19 15:01:15 -05:00
Hercules Mango Churchill aeb4060cf7 Update changelog 2018-03-15 20:36:04 +00:00
Hercules Mango Churchill 7b1c0e75d3 Update changelog 2018-03-15 18:00:18 +00:00
Hercules Mango Churchill 9213546bb2 Update changelog 2018-03-14 17:12:00 +00:00
Hercules Mango Churchill 2b2e578c07 Update changelog 2018-03-12 17:38:29 +00:00
Hercules Mango Churchill ad3e5becfa Update changelog 2018-03-12 16:52:39 +00:00
Pangaj J G 7ab9e05c92
updated date 2018-03-08 17:36:50 +05:30
Gershon Shif 6ac835404e
Merge pull request #9520 from influxdata/gs-change-log-update
Updated CHANGELOG.md to the GA released date - 2017-03-06
2018-03-06 11:31:00 -08:00
Gershon Shif 356e9523d2 Updated CHANGELOG.md to the GA released date - 2017-03-06 2018-03-06 11:24:48 -08:00
Hercules Mango Churchill 48d1cc5839 Update changelog 2018-03-06 18:42:54 +00:00
Hercules Mango Churchill f627a2d48d Update changelog 2018-03-05 22:27:25 +00:00
Hercules Mango Churchill af1c35b4a2 Update changelog 2018-02-28 15:49:18 +00:00
Hercules Mango Churchill 3fa3af4e1b Update changelog 2018-02-28 15:22:12 +00:00
Hercules Mango Churchill 6a83bf4e39 Update changelog 2018-02-28 14:06:33 +00:00
Hercules Mango Churchill 8fa9f0f681 Update changelog 2018-02-27 16:26:59 +00:00
Hercules Mango Churchill bf88bbc232 Update changelog 2018-02-27 15:48:57 +00:00
Hercules Mango Churchill 01288bdb08 Update changelog 2018-02-21 22:33:40 +00:00
Hercules Mango Churchill 290717bd04 Update changelog 2018-02-21 16:55:35 +00:00
Hercules Mango Churchill 43c17cf4ff Update changelog 2018-02-21 15:14:57 +00:00
Hercules Mango Churchill 3f7076a68e Update changelog 2018-02-20 21:49:10 +00:00
Hercules Mango Churchill 5218efd1cb Update changelog 2018-02-15 18:22:05 +00:00
Hercules Mango Churchill 1a3af441cb Update changelog 2018-02-14 23:25:19 +00:00
Hercules Mango Churchill 482b2d5fb6 Update changelog 2018-02-14 22:24:10 +00:00
Hercules Mango Churchill b866943945 Update changelog 2018-02-14 19:49:29 +00:00
Jonathan A. Sternberg 2bb5b68833 Add an auto choice that will choose the most appropriate logger
This restricts the logging format options so console cannot be chosen.
This way, logs written to a non-TTY will never be the console format.
2018-02-14 11:56:29 -05:00
Jonathan A. Sternberg e451c6cadf Update changelog 2018-02-09 12:18:33 -06:00
Jonathan A. Sternberg ef12d464ad
Merge pull request #9423 from influxdata/js-9336-fix-imports-of-multiple-databases
Fix imports of multiple databases in a single import file from `influx -import`
2018-02-09 11:35:53 -06:00
Jonathan A. Sternberg ca7cc021ee Revert "Merge pull request #9352 from wwilfinger/walter/influx-inspect-export-import"
This reverts commit 9aeae7ce82, reversing
changes made to 35b44cc2f0.

The contributor was unable to sign the contributor license agreement so
we have to revert this commit.
2018-02-09 09:53:19 -06:00
Hercules Mango Churchill 7472c3eba4 Update changelog 2018-02-08 20:45:31 +00:00
Hercules Mango Churchill 262b69955e Update changelog 2018-02-08 19:30:46 +00:00
Jonathan A. Sternberg 0777382329 The automatic changelog generator was misconfigured
It inserted the changelog entry into version 1.0 because it couldn't
find any tags. Jenkins had been configured not to fetch any tags so the
changelog generator assumed this was the first version of the software.

Fetching tags is now enabled on Jenkins.
2018-02-08 10:56:49 -06:00
Hercules Mango Churchill 1d269965d6 Update changelog 2018-02-08 16:47:52 +00:00
Jonathan A. Sternberg d61b4c7f0d Configure Jenkins to automatically update the changelog
On the master or release branches, `git changelog` will be run to
automatically update the changelog based off of the pull requests that
have been merged and then it will commit and push those changes.
2018-02-06 14:34:55 -06:00
Walter Wilfinger 93a19040ce Fix imports of multiple dbs in one export file
batchWrite was using the last database and retention policy read from
the input file. Because batchWrite was called only every batchSize lines
or at EOF, databases with fewer than batchWrite points could be imported
into the incorrect database.

This change forces a flush with batchWrite whenever processDML reads a
change in database or retention policy.
2018-02-05 12:18:03 -06:00
Jonathan A. Sternberg 37374b2dc2
Merge pull request #9389 from influxdata/js-changelog-fix
Fix some changelog entries
2018-02-02 19:18:59 -06:00
Jonathan A. Sternberg 5d95348fcd Fix stddev() call to report itself as always returning a float 2018-02-02 12:20:27 -06:00
Jonathan A. Sternberg 157fc0ccc4 Fix some changelog entries
Remove some miscellaneous whitespace at the end of changelog entries and
fix two older entries. One accidentally included an inline html tag and
didn't display. The other was missing a newline between two changelog
entries and so didn't display correctly as separate bullet points.
2018-02-02 11:04:55 -06:00
Joe LeGasse 21a58235fc
Merge branch 'master' into jl-race 2018-01-29 15:52:18 -05:00
Patrick Hemmer 2dc2c53093 fix nil err panic in msgpack httpd WriteResponse 2018-01-23 19:54:00 -05:00
Mark Rushakoff 4b1a35fb93 Fix data races in tcp.Mux and tcp.listener
This fixes two data races around concurrent calls to (*tcp.Mux).Close
and (*tcp.Mux).handleConn, discovered in Enterprise test suites.
2018-01-18 16:10:10 -08:00
Jonathan A. Sternberg 05f83d27ee Update influxql version
Fixes #9290.
2018-01-18 09:50:01 -06:00
Joe LeGasse 425a5e5f17 tsm1: prevent WaitGroup race 2018-01-17 13:08:11 -05:00
Joe LeGasse b3391eaaad update CHANGELOG 2018-01-16 21:32:11 -05:00
Adam 938db68198
Update restore functionality to run in online mode, consume Enterprise backup files. (#9207)
* Live Restore + Enterprise data format compatability

* Extended ImportData to import all DB's if no db name given

* Added a new enterprise data test, and backup command now prints the backup file paths at conclusion

* Added whole-system backup test

* Update to use protobuf in all enterprise data cases

* Update to test to do cross-testing with enterprise version

* incremental enterprise backup format support
2018-01-10 13:59:18 -05:00
hpbieker 35cf21ed43 Added changelog. 2018-01-03 09:50:31 +01:00
Jonathan A. Sternberg da9774fd27
Merge pull request #9184 from influxdata/js-influx-node-id-option
Allow setting the node id in the influx cli program
2018-01-02 14:34:37 -06:00
Jonathan A. Sternberg af23897940 Allow setting the node id in the influx cli program
The string `node <n>` can be used to specify which data node the data
should be retrieved from. This uses the `node_id=X` query parameter that
is supported, but wasn't exposed anywhere in the client library.

We use this feature enough internally when attempting to find
inconsistencies or network errors that it is easier if this is just
supported. Otherwise, I continue having to recompile the CLI program
every time I need to do this.

To clear a previously set node, you can use `node 0` or `node clear`.
2018-01-02 11:15:19 -06:00
Jonathan A. Sternberg ecba19eb27 Prevent a panic when a query simultaneously finishes and is killed at the same time
There is a strange race condition where a query can be killed and finish
at approximately the same time. If this happens, the query gets
retrieved by the killing task, the query gets closed by the normal
processing thread, and then the killing task attempts to kill the query
afterwards. Since the close doesn't mark the query as already killed
(since it's not killed, just merely unused), the killing thread attempts
to close the channel again.

Mark the query as killed whenever it is closed to prevent a double close
from happening. This should never cause the status to be erroneously
reported since the query status is removed from the query table within
the same lock scope.
2018-01-02 11:04:01 -06:00
Stuart Carnie dc15805b7c Update CHANGELOG 2017-12-27 17:27:23 -07:00
Jonathan A. Sternberg 30e35749ba Allow lone boolean literals in a condition expression 2017-12-19 12:08:53 -06:00
Jonathan A. Sternberg 5fcf57a764 Remove extraneous newlines from the log
The newlines were accidentally kept when changing the logger. They are
not necessary and mess up the log output.
2017-12-14 16:41:42 -06:00
David Norton 0ae7fc821d feat #9212: update CHANGELOG.md 2017-12-13 09:29:07 -05:00
Stuart Carnie 44f0147f67 update CHANGELOG 2017-12-11 08:57:37 -07:00
Stuart Carnie beef4e64d9 update CHANGELOG 2017-12-07 19:21:17 -07:00
Adam a0b2195d6b
Pulled in backup-relevant code for review (#9193)
for issue #8879
2017-12-07 11:35:20 -05:00
Jason Wilder 0b929fe669 Update changelog 2017-12-06 13:45:43 -07:00
Mark Rushakoff d8d0d2440a Fix incorrect link in CHANGELOG 2017-11-29 16:25:01 -08:00
Andrew Hare 0f937065c1 Update CHANGELOG 2017-11-29 13:52:04 -07:00
Edd Robinson c2f7f0f430
Merge pull request #8491 from influxdata/er-tsi-restore
Add support for TSI shard streaming and shard size
2017-11-29 15:40:52 +00:00
Andrew Hare d7e328050c
Merge branch 'master' into ah-truncate-shards 2017-11-28 17:25:31 -07:00
Andrew Hare 28ec02a7c1
Merge branch 'master' into amh-8789 2017-11-28 17:05:42 -07:00
Jonathan A. Sternberg db60a83d5a Fix query compilation so multiple nested distinct calls is allowable
When refactoring the query engine, I thought calling
`count(distinct(value))` multiple times was disallowed and so the
refactor made it so that wasn't possible.

It turns out that this pattern is allowed because since the distinct is
nested, it is aggregated anyway and can be combined with other
aggregates.

This removes the erroneously placed restriction.
2017-11-28 11:09:32 -06:00
Edd Robinson 12a2ff7fac Add support for TSI shard streaming and shard size
This commit firstly ensures that a shard's size on disk is accurately
reported when using the tsi1 index, by including the on-disk size of the
tsi1 index in the calculation.

Secondly, this commit add support for shard streaming/copying when using
the tsi1 index. Prior to this, a tsi1 index would not be correctly
restored when streaming shards.
2017-11-28 15:57:02 +00:00
Jonathan A. Sternberg a73c3a1965 Fix race condition in the merge iterator close method
If the close happens when next is being called, it can result in a race
condition where the current iterator gets set to nil after the initial
check.

This also fixes the finalizer so it runs the close method in a goroutine
instead of running it by itself. This is because all finalizers run on
the same goroutine so a close that takes a long time can cause a backup
for all finalizers. This also removes the redundant call to
`runtime.SetFinalizer` from the finalizer itself because a finalizer,
when called, has already cleared itself.
2017-11-27 16:55:41 -06:00
Stuart Carnie c31fa86c34 update CHANGELOG 2017-11-27 13:29:21 -07:00
Jason Wilder 71f5780c8a
Merge branch 'master' into master 2017-11-27 11:24:37 -07:00
Andrew Hare 89589adea5 Fix CLI to allow quoted database names
Change the CLI to support quoted database names in `use` statements.
This also allows for all database names to be specified, including names
that contain spaces.
2017-11-20 16:30:27 -07:00
Jason Wilder 50b6ace75f Fix wait reused while disabling compactions 2017-11-20 14:55:47 -07:00
Jonathan A. Sternberg e6f52a687e
Merge pull request #9123 from influxdata/js-9058-fix-space-required-after-regex-operator
Fix space required after regex operator
2017-11-17 10:54:50 -06:00
wyc c0d184ee93 Influx CLI: More Connection Warnings
If we don't detect a server version, then there's a good chance that
we're not speaking to an InfluxDB server. We should warn the user about
this to make it easier for them to debug.
2017-11-16 11:59:29 -05:00
Jonathan A. Sternberg 5f16934aa7 Fix space required after regex operator
Fixed via influxdata/influxql#4 by @stop-start. Thanks!
2017-11-16 08:45:40 -06:00
Mark Rushakoff 8b345bf5aa Update changelog for 1.4.2 release 2017-11-15 14:49:51 -08:00
Jason Wilder dde2d87ec9 Update changelog
[ci skip]
2017-11-15 09:06:31 -07:00
Mark Rushakoff 711da24562 Update changelog for 1.4.1 2017-11-14 08:15:57 -08:00
Jason Wilder 48e21e6fc8
Merge pull request #9084 from influxdata/jw-delete-time
Handle high cardinality deletes in TSM engine
2017-11-13 14:39:54 -07:00
Jason Wilder a8646b6d4d Update changelog
[ci skip]
2017-11-13 14:33:47 -07:00
e-wave 2123fc3b04 changelog 2017-11-13 18:24:01 +02:00
Jonathan A. Sternberg 0b7c56bcd8 Update the zap logger dependency
The previous sha was taken from a revision on a devel branch that I
thought would continue staying in the tree after it was merged. That
revision was rebased away and the API was changed for the logger.

This updates the usage of the logger and adds a simple package for
constructing the base logger.

The 1.0 version of zap changed the format of the default console logger
so this change moves over to this new logger instead of attempting to
retain backwards compatibility with the old format.
2017-11-10 16:27:16 -06:00
Jason Wilder ed246db55a Fix panic: runtime error: slice bounds out of range
Fixes #8538
2017-11-08 17:00:25 -07:00
Ben Johnson 156f25ac23
Improve SHOW TAG KEYS performance. 2017-11-07 10:59:19 -07:00
Andrew Hare ecb3952fa9 Allow human-readable byte sizes in config
Update support in the `toml` package for parsing human-readble byte sizes.
Supported size suffixes are "k" or "K" for kibibytes, "m" or "M" for
mebibytes, and "g" or "G" for gibibytes. If a size suffix isn't specified
then bytes are assumed.

In the config, `cache-max-memory-size` and `cache-snapshot-memory-size` are
now typed as `toml.Size` and support the new syntax.
2017-11-01 11:09:09 -05:00
Jonathan A. Sternberg 9dc60962c7 Handle utf16 files when reading the configuration file
Windows computers may produce a utf16 file from the command line that
contains a byte-order-mark. Along with handling the utf8
byte-order-mark, this also handles the utf16 for better Windows
compatibility.
2017-10-30 22:48:44 -05:00
Jason Wilder 355d742d4a Update to go 1.9.2 2017-10-30 11:49:47 -06:00
Luís Eduardo 905945ed71 Support long lines when importing with the client
Fixes #8986.
2017-10-30 17:16:41 +00:00
Mark Rushakoff e7a1be3e1f Include CHANGELOG updates from 1.3.7 and earlier 2017-10-26 16:13:23 -07:00
Ben Johnson 49c1fca036
Handle nil MeasurementIterator. 2017-10-26 11:25:46 -06:00
Edd Robinson 26cc46d55d Merge pull request #8984 from influxdata/er-show-cardinality
Add EXACT CARDINALITY commands
2017-10-26 17:16:30 +01:00
Edd Robinson 550fd4a8c2 Merge pull request #9017 from influxdata/er-8819-retention-index
Ensure retention service removes shards locally
2017-10-26 17:15:43 +01:00
Edd Robinson 50d73497c5 CHANGELOG 2017-10-26 16:22:48 +01:00
Edd Robinson 2ea2abb001 Remove possibility of race when dropping shards
Fixes #8819.

Previously, the process of dropping expired shards according to the
retention policy duration, was managed by two independent goroutines in
the retention policy service. This behaviour was introduced in #2776,
at a time when there were both data and meta nodes in the OSS codebase.
The idea was that only the leader meta node would run the meta data
deletions in the first goroutine, and all other nodes would run the
local deletions in the second goroutine.

InfluxDB no longer operates in that way and so we ended up with two
independent goroutines that were carrying out an action that was really
dependent on each other.

If the second goroutine runs before the first then it may not see the
meta data changes indicating shards should be deleted and it won't
delete any shards locally. Shortly after this the first goroutine will
run and remove the meta data for the shard groups.

This results in a situation where it looks like the shards have gone,
but in fact they remain on disk (and importantly, their series within
the index) until the next time the second goroutine runs. By default
that's 30 minutes.

In the case where the shards to be removed would have removed the last
occurences of some series, then it's possible that if the database was already at its
maximum series limit (or tag limit for that matter), no further new series
can be inserted.
2017-10-26 16:15:13 +01:00
Edd Robinson c8a679421f Update CHANGELOG.md 2017-10-26 15:41:30 +01:00
Andrew Montgomery-Hurrell 2ed0d2d1c9
Make client errors more helpful on downstream errs
When a downstream server such as a proxy or loadbalancer between
influxdb and the client produces an error, the client currently does
not make this very obvious.

This change introduces checks on both the content type and the
influx version header to identify whether a request was served by
influxdb itself and returns a more appropriate error in the cases
where it can be determined a downstream issue is at play.
2017-10-26 11:56:29 +01:00
Edd Robinson 0f4c251148 Update CHANGELOG 2017-10-25 13:34:44 +01:00
Stuart Carnie 63d7310572 update CHANGELOG 2017-10-24 14:17:02 -07:00
Ben Johnson 5a77238f30
Sort & validate TSI key value insertion. 2017-10-23 10:46:01 -06:00
Ben Johnson 5af2d73867
CHANGELOG 2017-10-20 15:14:39 -06:00
Stuart Carnie d7b73f9b02 Update CHANGELOG 2017-10-20 08:58:45 -07:00
Andrew Hare 13c3808aff Add test 2017-10-19 15:57:16 -06:00
Jonathan A. Sternberg 2005a8c8e5 Remove the pidfile after the server has exited 2017-10-19 16:33:59 -05:00
Jonathan A. Sternberg 83ecab6299 Prevent deadlock during collectd, graphite, opentsdb, and udp shutdown
All of these services start up goroutines and then wait for the
goroutines to finish. Each of them has a `tsdb.PointBatcher` that may
return a point during the shutdown sequence. During the shutdown
sequence, a lock was held. This lock may get accessed when attempting to
write the point that came back from the `tsdb.PointBatcher`. This caused
the read lock attempt to wait forever for the write lock to be unlocked
during `Close()`.

This modifies these methods so that the write lock is released while
waiting for goroutines to finish in these three services.
2017-10-19 15:57:05 -05:00
Jason Wilder 05131f4453 Fix indirectIndex not removing fully deleted series
If multiple tombstones exists for a series that ended up causing the
full data to be deleted, the blocks were not removed from the offsets
in the index.  This causes the TSMReader to report that a key exist
but does not have any data.

During a compaction, every key should have at least one value.  Since
this invariant was broken, the compaction aborted early and ends up
dropping all series keys that are lexigraphically greater than where
the breakage occured.  This would cause data to be dropped during the
compaction.
2017-10-18 18:16:41 -06:00
Jason Wilder 4d171f3f40 Fix data deleted outside of time range 2017-10-18 13:39:47 -06:00
Ben Johnson 264971fc5a
CHANGELOG 2017-10-18 07:22:49 -06:00
Andrew Hare e6aa5023eb Create a command to truncated shard groups 2017-10-16 20:34:26 -06:00
Jason Wilder fb7135ddc8 Fix corrupted wal segment panic on 32 bit systems 2017-10-16 09:41:20 -06:00
Jonathan A. Sternberg f20cab6e99 Implicitly decide on the lower limit for fill queries when none is present
This allows the query:

    SELECT mean(value) FROM cpu GROUP BY time(1d)

To function in some way that makes sense. The upper limit is implicitly
the `now()` starting time and the lower limit will be whichever interval
the lowest point falls into.

When no lower bound is specified and `max-select-buckets` is specified,
the query will only consider points that would satisfy
`max-select-buckets`. So if you have one point written in 1970, have
another point within the last minute, and then do the above query with
`max-select-buckets` being equal to 10, the older point from 1970 will
not be considered.
2017-10-05 15:56:44 -05:00
Jason Wilder 7e2b22f8d4 Merge pull request #8886 from influxdata/jw-planner
Improved compaction scheduling
2017-10-04 09:03:59 -06:00
Mark Rushakoff bb6cb80d45 Update changelog 2017-10-03 16:43:26 -07:00
Mark Rushakoff 0aaede8421 Update CHANGELOG 2017-10-03 11:28:16 -07:00
Edd Robinson c80c3636dd Merge pull request #8904 from influxdata/er-changelog
Update 1.3.3 release date
2017-10-03 18:43:56 +01:00
Mark Rushakoff 7525d331d1 Merge branch 'master' into mr-systemd-detection 2017-10-03 09:54:45 -07:00
Jason Wilder a43e652985 Update changelog 2017-10-03 10:49:46 -06:00
Edd Robinson defb81413e Merge branch 'master' into er-changelog 2017-10-03 12:20:49 +01:00
Jonathan A. Sternberg 06994a6585 Revert "Convert duration to string without dot and zeros" 2017-10-02 16:31:03 -05:00
Mark Rushakoff 4d32c157a9 Update changelog 2017-10-02 11:49:16 -07:00
Lyon Hill 38dc837910 Fix a minor memory leak when batching points for some services.
fixes #8895
2017-10-02 11:26:25 -06:00
Jonathan A. Sternberg 1a920c5c42 Merge pull request #8897 from influxdata/js-msgpack-formatter
Add message pack formatter
2017-10-02 11:31:35 -05:00
Jonathan A. Sternberg a0df2fe504 Add message pack formatter 2017-09-29 14:58:38 -05:00
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 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 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 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 ccb6f7451f Ensure importer emits errors to stderr (#8833) 2017-09-22 17:17:20 +01:00
Edd Robinson 44691847e9 Merge branch 'master' into er-8678-tsi1-where 2017-09-22 16:54:49 +01:00
Stuart Carnie 976d214a5e Merge remote-tracking branch 'origin/master' into sgc-readentries-perf
# Conflicts:
#	CHANGELOG.md
2017-09-19 13:28:23 -07:00
Jonathan A. Sternberg 107feebb81 Report the task status for a query
This more accurately shows whether or not a query has been killed.
Instead of automatically removing it from the query table when it's
killed even though goroutines and iterators may still be open, it now
marks the process as killed. This should allow us to more accurately
determine if a query has been stalled and is still using resources on
the server.

This is related to #8848, but not directly connected.
2017-09-19 14:48:56 -05:00
Stuart Carnie f8688c5588 update CHANGELOG 2017-09-19 11:57:15 -07:00
Stuart Carnie ec852dbafe update CHANGELOG 2017-09-19 10:00:11 -07:00
Joe LeGasse da743321d8 Update CHANGELOG 2017-09-14 14:24:49 -04:00
Jonathan A. Sternberg 6e60edc4bd Merge pull request #8771 from influxdata/js-restore-old-timerange-behavior
This restores the old time range behavior
2017-09-14 12:00:50 -05:00
Jonathan A. Sternberg c8440b4778 This restores the old time range behavior
All time ranges are combined with AND regardless of context and
regardless of whether it makes any logical sense.

That was the previous behavior and, unfortunately, a lot of people rely
on it.
2017-09-14 09:10:37 -05:00
liketic 152aec6fb2 Add CHANGELOG 2017-09-09 11:31:09 +08:00
Jason Wilder 94e229ff59 Merge branch 'master' into jw-drop-series 2017-09-08 15:34:32 -06:00
Jason Wilder 44e1d3f185 Merge pull request #8804 from influxdata/jw-wal-oom
Fix increased memory usage in cache and wal
2017-09-08 15:10:53 -06:00
Jason Wilder 7d05601ba5 Update changelog 2017-09-07 16:52:00 -06:00
Paul Dix 2e3c0a8171 Update CHANGELOG with Prometheus feature 2017-09-07 13:55:12 -04:00
Jason Wilder a3ab827e2e Update changelog 2017-09-07 11:46:32 -06:00
Jonathan A. Sternberg e18425757d Merge pull request #8791 from influxdata/js-explain-cached-values
Include the number of scanned cached values in the iterator cost
2017-09-06 16:00:30 -05:00
Jonathan A. Sternberg 590be193e5 Include the number of scanned cached values in the iterator cost 2017-09-06 15:41:07 -05:00
Stuart Carnie aa6ef36051 update CHANGELOG 2017-09-05 11:22:18 -07:00
Jonathan A. Sternberg 50d404e690 Initial implementation of explain plan
It prints the statistics of each iterator that will access the storage
engine. For each access of the storage engine, it will print the number
of shards that will potentially be accessed, the number of files that
may be accessed, the number of series that will be created, the number
of blocks, and the size of those blocks.
2017-09-01 09:01:10 -05:00
emluque fa681edcb9 6563 Support Ctrl+C to cancel a running query in the Influx CLI
Solved the issue by using context on the http request on the client.
2017-09-01 08:02:27 -05:00
Jonathan A. Sternberg 466fc9026e Reduce how long it takes to walk the varrefs in an expression
This is used quite a bit to determine which fields are needed in a
condition. When the condition gets large, the memory usage begins to
slow it down considerably and it doesn't take care of duplicates.
2017-08-31 09:33:45 -05:00
Ben Johnson 1dbe0662d8
Use system cursors for measurement, series, and tag key meta queries. 2017-08-30 08:35:20 -06:00
David Norton 2aa446bf24 fix #8638: inspect shouldn't err on missing file
influx_inspect walks the data and wal directories building a list of
files to export. It then opens, reads, and exports each. If the file was
deleted between the time it was added to the list and the time the
inspect tool attempts to read it, the file is now skipped without
emitting an error.
2017-08-30 09:59:03 -04:00
Stuart Carnie 9f7f225c10 update CHANGELOG 2017-08-29 16:16:10 -07:00
Jonathan A. Sternberg c41360abae Document that query ordering must be consistent in subqueries 2017-08-29 14:48:37 -05:00