James Phillips
|
92531812b6
|
Adds source address logging on RPC errors.
|
2015-12-16 14:03:03 -08:00 |
James Phillips
|
38bdcc9907
|
Adds a check to make sure query names can't be registered twice.
|
2015-12-02 09:04:51 -08:00 |
Armon Dadgar
|
a033d7aed2
|
consul: shrink yamux recv buffer on idle streams
|
2015-11-27 17:20:57 -08:00 |
James Phillips
|
0e3f4af4ac
|
Makes all the query ops the correct type.
|
2015-11-17 09:27:10 -08:00 |
James Phillips
|
86bc3db7b3
|
Returns a zero index for a lookup error case.
|
2015-11-17 09:25:20 -08:00 |
James Phillips
|
bc60491890
|
Removes a useless empty import and fixes some stale comments.
|
2015-11-17 08:29:20 -08:00 |
James Phillips
|
f4943c1613
|
Makes UUID regex case-insensitive.
|
2015-11-16 22:57:47 -08:00 |
James Phillips
|
a1e02996e5
|
Moves conversion of nil slices up to HTTP layer for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
c032dee945
|
Adds a paranoia set of the nodes slice to nil.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
a0211db3b9
|
Adds a test to ensure we don't return a nil slice.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
375312f07a
|
Gets rid of some unused constants.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
e6ccf5b9ed
|
Returns a 404 from a get or execute of a nonexistent query.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
c9ef552385
|
Plumbs the service name back and uses agent-specific TTL settings as a fallback.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
cad6938474
|
Adds unit tests for prepared queries and DNS, using existing tests for equivalence.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
7762a828d3
|
Adds query metadata to prepared query execute response.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
0c02365bf2
|
Makes an empty prepared query list an empty slice, not a nil one.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
3029906254
|
Adds a unit test for the new RTT getDatacentersByDistance fn.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
697e2f4e71
|
Completes FSM support for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
124410b66c
|
Adds an HTTP endpoint for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
b209c2afe2
|
Adds an RPC endpoint injection method for testing.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
4051db4e88
|
Changes Lookup to Get since we don't need it (only Execute does).
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
095806584d
|
Always increments the failovers counter, even for error-ed DCs.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
07361d3e96
|
Adds test for remote datacenter selection and query logic.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
6a1c571a38
|
Adds a test for the server wrapper.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
9428f025f9
|
Adds tag filter tests.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
da5cf9cdf2
|
Adds execute tests for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
7c8404df4c
|
Adds status information about failovers to query results.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
dc517aa288
|
Removes unused ACL filter.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
00ea015770
|
Adds execute leader forward test for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
264e86e533
|
Adds a leader forwarding case for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
bb0f136412
|
Adds tests for query lookup and list endpoints.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
495d00c0b8
|
Adds query parsing unit tests.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
72f6c8a261
|
Adds ACL cases for apply.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
76a55eed53
|
Completes non-ACL version of apply test.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
bc0fba43d8
|
Adds lookup and list endpoints and basic end-to-end apply test.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
3b3c7c02e4
|
Checks for valid UUIDs before calling in to index function.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
ec5249357e
|
Clarifies comment about name vs. ID.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
61e6cbc560
|
Skips unknown DCs during queries and chugs along in the face of errors.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
0141438e6c
|
Moves sort to a query-time decision and adds back the limit.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
25fac70924
|
Adds an explicit ACL check that will fail vs. trying other DCs.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
347bb847c2
|
Changes "not" prefix from "~" to "!".
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
09034a84bd
|
Adds prefix "prepared" to everything prepared query-related.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
2183565d83
|
Adds basic structure for prepared queries (needs tests).
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
6e7faa6239
|
Factors code for pulling the sorted list of DCs into a common place.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
6a70cb9885
|
Adds a better shuffle test (similar to DNS).
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
781f9611e8
|
Changes structs and state store for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
55f49d6e73
|
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
|
26cf0a2974
|
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
|
04dffd7c46
|
Adds a check for in-band error returns in the coordinate RaftApply.
|
2015-11-15 16:50:46 -08:00 |
James Phillips
|
5b0697fc67
|
Changes batch update failure to a WARN since it's nbd.
|
2015-10-29 09:26:24 -07:00 |