Commit Graph

3334 Commits

Author SHA1 Message Date
James Phillips a57d642fa0 Always increments the failovers counter, even for error-ed DCs. 2015-11-15 17:06:00 -08:00
James Phillips d06e2a535d Adds test for remote datacenter selection and query logic. 2015-11-15 17:06:00 -08:00
James Phillips bbc5185000 Adds a test for the server wrapper. 2015-11-15 17:06:00 -08:00
James Phillips eefdb56d1e Adds tag filter tests. 2015-11-15 17:06:00 -08:00
James Phillips 14170535e7 Adds execute tests for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips 30a18220af Adds status information about failovers to query results. 2015-11-15 17:06:00 -08:00
James Phillips 86ead892ab Removes unused ACL filter. 2015-11-15 17:06:00 -08:00
James Phillips a9e9d5e311 Adds execute leader forward test for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips 7ded6c7a4a Adds a leader forwarding case for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips fa414a2092 Adds tests for query lookup and list endpoints. 2015-11-15 17:06:00 -08:00
James Phillips 519666a97c Adds query parsing unit tests. 2015-11-15 17:06:00 -08:00
James Phillips d4d866c6d5 Adds ACL cases for apply. 2015-11-15 17:06:00 -08:00
James Phillips 8222d3f462 Completes non-ACL version of apply test. 2015-11-15 17:06:00 -08:00
James Phillips 333da2a96c Adds lookup and list endpoints and basic end-to-end apply test. 2015-11-15 17:06:00 -08:00
James Phillips 58bb6e8ba4 Checks for valid UUIDs before calling in to index function. 2015-11-15 17:06:00 -08:00
James Phillips 0bd7e82686 Clarifies comment about name vs. ID. 2015-11-15 17:06:00 -08:00
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
captainill a69fcf0780 community does not use the same layout as the rest of the inner pages. add edit link 2015-11-09 15:44:35 -08:00
captainill b79afeb349 edit page link does not belong in footer appearing like a nav link. should be associated with page content. updated 2015-11-09 15:39:34 -08:00
captainill 17b3910152 refactor styles to be more atomic for header/footer usage 2015-11-09 15:34:32 -08:00
captainill 6593f945eb whitespace 2015-11-09 13:48:29 -08:00
captainill 45b1d47fab use method terraform uses to keep footer at bottom of page 2015-11-09 13:18:24 -08:00
captainill 7bcba613b0 fix source sans refs 2015-11-09 12:57:42 -08:00