Commit Graph

3207 Commits

Author SHA1 Message Date
James Phillips 666619dfc9 Skips unknown DCs during queries and chugs along in the face of errors. 2015-11-15 17:06:00 -08:00
James Phillips 2f34b51650 Moves sort to a query-time decision and adds back the limit. 2015-11-15 17:06:00 -08:00
James Phillips 7ca3f0a466 Adds an explicit ACL check that will fail vs. trying other DCs. 2015-11-15 17:06:00 -08:00
James Phillips c41a3d6c8d Changes "not" prefix from "~" to "!". 2015-11-15 17:06:00 -08:00
James Phillips 81bb39751a Adds prefix "prepared" to everything prepared query-related. 2015-11-15 17:06:00 -08:00
James Phillips b736bc4e68 Adds basic structure for prepared queries (needs tests). 2015-11-15 17:06:00 -08:00
James Phillips 1d1865ddff Factors code for pulling the sorted list of DCs into a common place. 2015-11-15 17:06:00 -08:00
James Phillips 1f87480e54 Adds a better shuffle test (similar to DNS). 2015-11-15 17:06:00 -08:00
James Phillips 989619cb6b Moves DNS over to new shuffle and filter functions. 2015-11-15 17:06:00 -08:00
James Phillips 7babcefc59 Changes structs and state store for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips ce0881a99a Adds a new management ACL for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips ff351b289a Merge pull request #1413 from hashicorp/b-coord-raft-errors
Adds a check for in-band error returns in the coordinate RaftApply.
2015-11-15 17:05:19 -08:00
James Phillips 6251a974f8 Merge pull request #1412 from hashicorp/f-longer-ttl
Extends the session TTL max to 24 hours, and adds a warning to the docs.
2015-11-15 17:05:08 -08:00
James Phillips f1f9d30ade Extends the session TTL max to 24 hours, and adds a warning to the docs. 2015-11-15 16:51:00 -08:00
James Phillips 9972eb2498 Adds a check for in-band error returns in the coordinate RaftApply. 2015-11-15 16:50:46 -08:00
James Phillips a4b53aa531 Merge pull request #1414 from hashicorp/b-nil-slices
Fixes nil slices leading to null fields in HTTP JSON responses
2015-11-15 16:17:01 -08:00
James Phillips c248b0017a Fixes nil slices from HTTP endpoints.
These would manifest in the HTTP output as Javascript nulls instead of
empty lists, so we had unintentionally changed the interface while
porting to the new state store. We added code to each HTTP endpoint to
convert nil slices to empty ones so they JSON-ify properly, and we added
tests to catch this in the future.
2015-11-14 21:05:37 -08:00
James Phillips 86f56ee4a1 Adds a note about the new acquire behavior into the sessions internals guide. 2015-11-14 10:28:14 -08:00
James Phillips 9ffafdf323 Updates wording on new lock operation. 2015-11-13 10:08:57 -08:00
James Phillips 4a775004b8 Adds a note about the new KV lock behavior. 2015-11-13 10:07:42 -08:00
James Phillips 692adad55c Updates the changelog. 2015-11-13 09:58:30 -08:00
James Phillips 8defe75387 Merge pull request #1293 from talwai/master
Add options to send telemetry to DogStatsD
2015-11-13 09:51:50 -08:00
talwai f6f2e19c6c Kill unused import in command.go 2015-11-13 11:14:15 -05:00
James Phillips a1ab10f0f9 Merge pull request #1411 from hashicorp/b-truncated
Fixes unit test fail due to expected truncated message.
2015-11-12 18:25:11 -08:00
James Phillips 98731f7272 Fixes unit test fail due to expected truncated message. 2015-11-12 18:16:44 -08:00
talwai 0a5434f2a0 Add DogStatsD configuration options to documentation source 2015-11-11 14:30:37 -05:00
talwai bc12c5e711 Add DogStatsd configuration 2015-11-11 14:30:36 -05:00
James Phillips 081b9165ca Adds a note about the new acquire behavior for lock holders. 2015-11-10 07:01:54 -08:00
James Phillips cf1b9fe074 Fixes a typo. 2015-10-30 23:50:11 -07:00
James Phillips 921602b565 Adds a note about the new service discovery ACLs. 2015-10-29 16:41:38 -07:00
Diptanu Choudhury a9cacd1ae8 Merge pull request #1366 from hashicorp/run-vet-before-test
Running go vet before test
2015-10-29 15:56:13 -07:00
Diptanu Choudhury 55ec2bf3c5 Running go vet before test 2015-10-29 15:48:02 -07:00
James Phillips b087331c2b
Release v0.6.0-rc1 2015-10-29 13:42:21 -07:00
James Phillips baa747a002 Merge pull request #1365 from hashicorp/sethvargo/trail
Add trailing slash to avoid a redirect
2015-10-29 13:26:31 -07:00
Seth Vargo de4835ecbd Add trailing slash to avoid a redirect 2015-10-29 16:12:26 -04:00
James Phillips f327fe1a77
Release v0.6.0rc1 2015-10-29 13:03:47 -07:00
James Phillips c2448b0157 Merge pull request #1363 from hashicorp/b-vet
Fixes a `go vet` finding with a log message.
2015-10-29 12:50:45 -07:00
James Phillips 3d1702969f Fixes a go vet finding. 2015-10-29 12:47:20 -07:00
James Phillips 47c53b3871 Updates the CHANGELOG with all the 0.6.0 updates. 2015-10-29 11:47:26 -07:00
James Phillips c299338575 Merge pull request #1362 from hashicorp/f-zip
Adds zip to the Vagrant box so a make works there without any fiddling.
2015-10-29 10:01:05 -07:00
James Phillips 4151da4447 Adds zip to the Vagrant box so a make works there without any fiddling. 2015-10-29 10:00:22 -07:00
James Phillips 79293514fe Merge pull request #1361 from hashicorp/f-warn-on-batch-fail
Changes batch update failure to a WARN since it's nbd.
2015-10-29 09:28:05 -07:00
James Phillips c1d338550f Changes batch update failure to a WARN since it's nbd. 2015-10-29 09:26:24 -07:00
James Phillips 7579505a4e Merge pull request #1357 from hashicorp/b-agent-spam
Prevents agents from considering Raft information when doing sync checks.
2015-10-28 15:00:41 -07:00
Diptanu Choudhury 9258dc496a Merge pull request #1356 from hashicorp/docker-check-docs
Added some docs for the docker check
2015-10-28 14:57:14 -07:00
Diptanu Choudhury c25d0f044f Some more grammer corrections and formatting to docker check docs 2015-10-28 14:56:55 -07:00
James Phillips d06fc28a0a Prevents agents from considering Raft information when doing sync checks. 2015-10-28 14:32:00 -07:00
Diptanu Choudhury 1633cf9d1c Some changes to the docker check docs 2015-10-28 14:24:03 -07:00
Diptanu Choudhury e4f2887ba3 Added some docs for the docker check 2015-10-28 14:19:57 -07:00
James Phillips 19c3e262a6 Fixes a bad error message. 2015-10-28 12:40:47 -07:00