Preetha
0a2e21353f
Merge pull request #5912 from hashicorp/f-systemd-nofile
...
systemd: set a high but non-infinite fd limit
2019-07-11 12:31:12 -05:00
Mahmood Ali
1a299c7b28
client/taskrunner: fix stats stats retry logic
...
Previously, if a channel is closed, we retry the Stats call. But, if that call
fails, we go in a backoff loop without calling Stats ever again.
Here, we use a utility function for calling driverHandle.Stats call that retries
as one expects.
I aimed to preserve the logging formats but made small improvements as I saw fit.
2019-07-11 13:58:07 +08:00
Mahmood Ali
72d81da4e0
Signal plugin shutdown for driver.TaskStats
...
The driver plugin stub client must call `grpcutils.HandleGrpcErr` to handle plugin
shutdown similar to other functions. This ensures that TaskStats returns
`ErrPluginShutdown` when plugin shutdown.
2019-07-11 13:57:35 +08:00
Lang Martin
b8b45711f3
Merge pull request #5784 from hashicorp/b-batch-node-dereg
...
batch node deregistration
2019-07-10 14:24:54 -04:00
Lang Martin
66e4b68946
Changelog
2019-07-10 13:56:57 -04:00
Lang Martin
0b97175a16
node_endpoint preserve both messages as rpcs and in raft
2019-07-10 13:56:20 -04:00
Lang Martin
ee4848167c
core_sched add compat comment for later removal
2019-07-10 13:56:20 -04:00
Lang Martin
c13c97c6c2
structs drop deprecation warning, revert unnecessary comment change
2019-07-10 13:56:20 -04:00
Lang Martin
a95225d754
NodeDeregisterBatch -> NodeBatchDeregister match JobBatch pattern
2019-07-10 13:56:20 -04:00
Lang Martin
a8e72a5b68
state_store error if called without node_ids
2019-07-10 13:56:20 -04:00
Lang Martin
44cbca9b98
fsm new NodeDeregisterBatchRequestType sorted at the end of the case
2019-07-10 13:56:20 -04:00
Lang Martin
b9f90701ea
checklist NodeDeregisterBatchRequestType must go at the end
2019-07-10 13:56:20 -04:00
Lang Martin
91e139dcb5
structs NodeDeregisterBatchRequestType must go at the end
2019-07-10 13:56:20 -04:00
Lang Martin
1cc6b4062c
fsm label batch_deregister_node metrics explicitly
...
Co-Authored-By: Mahmood Ali <mahmood@notnoop.com>
2019-07-10 13:56:20 -04:00
Lang Martin
909f3b0534
new file: contributing/checklist-rpc-endpoint.md
2019-07-10 13:56:20 -04:00
Lang Martin
ad3549f906
core_sched use the new rpc names
2019-07-10 13:56:20 -04:00
Lang Martin
ce0f03651a
fsm support new NodeDeregisterBatchRequest
2019-07-10 13:56:20 -04:00
Lang Martin
fa5649998e
node endpoint support new NodeDeregisterBatchRequest
2019-07-10 13:56:19 -04:00
Lang Martin
683ab8d1d2
structs add NodeDeregisterBatchRequest
2019-07-10 13:56:19 -04:00
Lang Martin
82349aba5d
node_endpoint argument setup
2019-07-10 13:56:19 -04:00
Lang Martin
6dbf5d7d13
fsm return an error on both NodeDeregisterRequest fields set
2019-07-10 13:56:19 -04:00
Lang Martin
fbc78ba96c
fsm variable names for consistency
2019-07-10 13:56:19 -04:00
Lang Martin
09fd05bd8f
node_endpoint raft store then shutdown, test deprecation
2019-07-10 13:56:19 -04:00
Lang Martin
4610c70777
util simplify partitionAll
2019-07-10 13:56:19 -04:00
Lang Martin
d22d9fb5b2
core_sched check ServersMeetMinimumVersion
2019-07-10 13:56:19 -04:00
Lang Martin
3bf41211fb
fsm honor new and old style NodeDeregisterRequests
2019-07-10 13:56:19 -04:00
Lang Martin
3fb82e83a5
structs add back NodeDeregisterRequest.NodeID, compatibility
2019-07-10 13:56:19 -04:00
Lang Martin
a4472e3d34
core_sched check ServersMeetMinimumVersion, send old node deregister
2019-07-10 13:56:19 -04:00
Lang Martin
8e53c105fc
state_store just one index update, test deletion
2019-07-10 13:56:19 -04:00
Lang Martin
3e2d1f0338
node_endpoint improve error messages
2019-07-10 13:56:19 -04:00
Lang Martin
5a6a947e98
state_store improve error messages
2019-07-10 13:56:19 -04:00
Lang Martin
fd14cedf95
drainer watch_nodes_test batch of 1
2019-07-10 13:56:19 -04:00
Lang Martin
b176066d42
node_endpoint deregister the batch of nodes
2019-07-10 13:56:19 -04:00
Lang Martin
a97407e030
fsm NodeDeregisterRequest is now a batch
2019-07-10 13:56:19 -04:00
Lang Martin
d5ff2834ca
core_sched batch node deregistration requests
2019-07-10 13:56:19 -04:00
Lang Martin
10848841be
util partitionAll for paging
2019-07-10 13:56:19 -04:00
Lang Martin
be2d6853cb
state_store DeleteNode operates on a batch of ids
2019-07-10 13:56:19 -04:00
Lang Martin
77cf037bff
struct NodeDeregisterRequest has a batch of NodeIDs
2019-07-10 13:56:19 -04:00
Preetha Appan
d77df22a36
update changelog
2019-07-10 11:45:28 -05:00
Preetha Appan
7d645c5ad9
Test file for detect content type that satisfies linter and encoding
2019-07-10 11:42:04 -05:00
Preetha
12b6769fa9
Merge pull request #5943 from hashicorp/b-allocrunner-killtimeout
...
Populate task event struct with kill timeout
2019-07-10 11:21:28 -05:00
Preetha Appan
ef9a71c68b
code review feedback
2019-07-10 10:41:06 -05:00
Michael Schurter
2cef0f019e
Merge pull request #5933 from hashicorp/f-connect-initial-docs
...
First pass at a Consul Connect example docs
2019-07-10 14:37:35 +02:00
Michael Schurter
d3157160ce
website: link to nick's talk
2019-07-10 09:20:37 +02:00
Michael Schurter
75936652c0
website: mention cni plugin requirement
2019-07-10 09:13:10 +02:00
Michael Schurter
58e14ffa66
website: Add link to connect tp download
2019-07-09 17:01:35 +02:00
Preetha Appan
990e468edc
Populate task event struct with kill timeout
...
This makes for a nicer task event message
2019-07-09 09:37:09 -05:00
Michael Schurter
5594739eb4
website: switch to prettier demo
2019-07-09 14:44:35 +02:00
Michael Schurter
af0e7b8495
website: link to consul 1.6 beta
2019-07-08 22:20:02 +02:00
Preetha Appan
108a292cc0
fix linting failure in test case file
2019-07-08 11:29:12 -05:00