Commit Graph

5993 Commits (8323d6aa9e8971b5059b4f9e7ff14bd355a4b626)

Author SHA1 Message Date
Jason Wilder 8323d6aa9e Log when TCP clients connect/disconnect 2015-06-08 16:39:02 -06:00
Jason Wilder ede254484d Process hinted handoff queues concurrently 2015-06-08 15:05:44 -06:00
Jason Wilder edc76b2503 Merge pull request #2825 from influxdb/jw-logging
Remote write fixes
2015-06-08 12:47:13 -06:00
Philip O'Toole b6654d8c98 Merge pull request #2824 from influxdb/add_missing_done
Add missing call to WaitGroup.Done()
2015-06-08 11:26:46 -07:00
Philip O'Toole 5e6d7fe833 Update CHANGELOG 2015-06-08 11:12:21 -07:00
Philip O'Toole cc03030b5e Add missing call to WaitGroup.Done()
Fix issue #2806
2015-06-08 11:10:02 -07:00
Jason Wilder d86b15953c Fix queue advance not writing updated position
The advance function was not writing the updated position in the
queue until after the next advance call was called.  Resulted in
the very last message would get replayed on restart each time.
2015-06-08 12:09:31 -06:00
Philip O'Toole 4c2f840659 Update CHANGELOG for PR 2816 2015-06-08 11:06:58 -07:00
Philip O'Toole 7fbc28963c Merge pull request #2816 from renan-/fix-udp
Fix UDP service, broken by 092bc3f and uncorrectly fixed in cc78fe4
2015-06-08 11:05:48 -07:00
Jason Wilder 8cbda9694e Ensure unusable connections get closed
Fixes a bug where a connection that was marked as unusable didn't
prevent it from getting checked backed into the pool.
2015-06-08 11:26:56 -06:00
Jason Wilder 0c6ea32540 Use read locks instead of write lock for connection pools checkout 2015-06-08 11:21:07 -06:00
Jason Wilder b9c72ff08f Merge pull request #2819 from influxdb/jw-logging
Log remote write erros
2015-06-08 09:46:36 -06:00
Paul Dix c978fddf15 Merge pull request #2820 from influxdb/panic-multiple-measurements
Fixes panic with measurement in one shard group but not another
2015-06-08 17:33:12 +02:00
Paul Dix 8f712eaf85 Ignore shards that don't have the selected measurement in them.
Fixes #2815 and fixes #2818.
2015-06-08 17:14:42 +02:00
Jason Wilder e75208f15c Log remote write erros 2015-06-08 09:09:10 -06:00
Cory LaNou eaec3e42e4 add test for multiple measurements 2015-06-08 10:07:29 -05:00
Renan Strauss b44f6efdc2 Fix UDP service, broken by 092bc3f and uncorrectly fixed in cc78fe4 2015-06-08 10:49:07 +02:00
Todd Persen 50a2b9ba0f Update CHANGELOG.md 2015-06-07 02:40:13 -07:00
Todd Persen e44ed403cf Merge pull request #2809 from influxdb/pd-fix-measurement-field-lock
Fix locking on write path for getting measurement field encoding.
2015-06-07 02:12:44 -07:00
Paul Dix f39cddebf6 Fix locking on write path for getting measurement field encoding. 2015-06-07 11:09:47 +02:00
Philip O'Toole 348bed4376 Merge pull request #2802 from influxdb/default_retention
Create default retention period at database creation
2015-06-06 17:24:20 -07:00
Philip O'Toole b19828fea7 Add test case for retention auto-create 2015-06-06 17:22:37 -07:00
Philip O'Toole 38f38a5bd4 Improve AutoCreate camelcase 2015-06-06 17:03:52 -07:00
Philip O'Toole 5fcae1eb04 Improve Go style of retention auto-create 2015-06-06 17:02:32 -07:00
Philip O'Toole edcf58a378 Retention policies are auto-created, fix README 2015-06-06 17:02:32 -07:00
Philip O'Toole 37c11e4c5d Remove retention auto-create magic values 2015-06-06 17:02:32 -07:00
Philip O'Toole a64f7edc33 Add config support for retention autocreate 2015-06-06 17:02:32 -07:00
Philip O'Toole 8d9a28a583 Store supports auto-creating retention policy 2015-06-06 17:02:32 -07:00
Ben Johnson 2972420cf5 Merge pull request #2803 from benbjohnson/fix-build
Fix CI Build
2015-06-06 14:26:46 -06:00
Ben Johnson d3d43246e4 Add raft check to meta store. 2015-06-06 14:24:41 -06:00
Ben Johnson 0ed02038c2 Merge pull request #2798 from benbjohnson/shard-owner-invalidation
Invalidate cache on shard owner lookup.
2015-06-06 14:04:19 -06:00
Philip O'Toole bf219cad35 Merge pull request #2797 from influxdb/otoolep-rp-non-default
Retention policy not created by default
2015-06-05 22:24:54 -07:00
Ben Johnson 5ffb032c43 Invalidate cache on shard owner lookup. 2015-06-05 23:23:10 -06:00
Philip O'Toole 6b54e4de56 Retention policy not created by default 2015-06-05 22:22:17 -07:00
Ben Johnson 6e40f869fe Fix formatting directive. 2015-06-05 23:06:52 -06:00
Ben Johnson 617e214a49 Add remote write logging. 2015-06-05 22:49:03 -06:00
Ben Johnson 607c352412 Add remote write logging. 2015-06-05 22:34:30 -06:00
Jason Wilder 02349e6f16 Merge pull request #2788 from influxdb/jw-hh
Hinted Handoff Write Support
2015-06-05 22:32:39 -06:00
Jason Wilder 3a19798968 Set metastore on cluster service 2015-06-05 22:29:52 -06:00
Jason Wilder 2ccf97e6a0 Add wait group to hinted handoff service 2015-06-05 22:16:52 -06:00
Jason Wilder 4ec77d8b84 Fix comments 2015-06-05 22:16:52 -06:00
Jason Wilder 1024965db7 Create shard received from cluster writer 2015-06-05 22:16:51 -06:00
Jason Wilder e2f3ff26a5 Fix data race when close hinted handoff service 2015-06-05 22:16:51 -06:00
Jason Wilder f4cea559d3 Purge hinted handoff queue if entries stick around past a cutoff 2015-06-05 22:16:51 -06:00
Jason Wilder 9d67f9bf62 Add hinted handoff max age and throughput rate limit config options 2015-06-05 22:16:51 -06:00
Jason Wilder 809b9b8a83 Add basic hinted handoff support
If a remote write fails, it will be queued to a per-node, local disk
queue and retried later.
2015-06-05 22:16:51 -06:00
Jason Wilder 1638ff8b6c Handle nil node returned from meta store in shard writer 2015-06-05 22:16:51 -06:00
Jason Wilder 89c01cd37d Add hinted handoff queue
This adds a disk backed queue that will be to persist hinted
handoff writes.
2015-06-05 22:16:51 -06:00
Jason Wilder 044e5b71f5 Remote temp dirs in store_test 2015-06-05 22:16:51 -06:00
Jason Wilder 75b72c60fe Add hinted handoff service
The hinted handoff service will queue a write to a remote node if
that write fails and periodically retry the write.
2015-06-05 22:16:51 -06:00