open-nomad/nomad/structs
Pierre Cauchois e4b739cafd
RPC Timeout/Retries account for blocking requests (#8921)
The current implementation measures RPC request timeout only against
config.RPCHoldTimeout, which is fine for non-blocking requests but will
almost surely be exceeded by long-poll requests that block for minutes
at a time.

This adds an HasTimedOut method on the RPCInfo interface that takes into
account whether the request is blocking, its maximum wait time, and the
RPCHoldTimeout.
2020-09-18 08:58:41 -04:00
..
config consul/connect: add support for running connect native tasks 2020-06-22 14:07:44 -05:00
batch_future.go drain: refactor batch_future into its own file 2018-04-02 16:40:06 -07:00
batch_future_test.go drain: refactor batch_future into its own file 2018-04-02 16:40:06 -07:00
bitmap.go
bitmap_test.go
csi.go Fix accidental broken clones 2020-08-28 15:29:22 -04:00
csi_test.go csi: plugins track jobs in addition to allocations, and use job information to set expected counts (#8699) 2020-08-27 17:20:00 -04:00
devices.go Initial implementation of device preemption 2018-11-15 11:09:26 -06:00
devices_test.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
diff.go structs: filter NomadTokenID from job diff (#8773) 2020-08-28 13:40:51 -04:00
diff_test.go structs: filter NomadTokenID from job diff (#8773) 2020-08-28 13:40:51 -04:00
errors.go csi: client RPCs should return wrapped errors for checking (#8605) 2020-08-07 11:01:36 -04:00
errors_test.go api: acl bootstrap errors aren't 500 2019-11-19 15:51:57 -05:00
funcs.go oss compoments for multi-vault namespaces 2020-07-24 10:14:59 -04:00
funcs_test.go ar: support opting into binding host ports to default network IP (#8321) 2020-07-06 18:51:46 -04:00
generate.sh When serializing msgpack, only consider codec tag 2020-05-11 14:14:10 -04:00
network.go fixed typo in output (#1) 2020-07-14 10:33:17 -06:00
network_test.go test: fix up testing around host networks 2020-06-19 13:53:31 -04:00
node.go docstring improvements and typo fixes (#7862) 2020-05-05 10:30:50 -04:00
node_class.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_class_test.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_test.go
operator.go basic snapshot restore 2020-06-07 15:46:23 -04:00
service_identities.go consul/connect: use task kind to get service name 2020-05-18 13:46:00 -06:00
services.go consul/connect: fixup some comments and context timeout 2020-08-26 13:17:16 -05:00
services_test.go consul/connect: remove envoy dns option from gateway proxy config 2020-08-24 09:11:55 -05:00
streaming_rpc.go
structs.go RPC Timeout/Retries account for blocking requests (#8921) 2020-09-18 08:58:41 -04:00
structs_codegen.go Codecgen full package 2018-04-26 15:24:53 -07:00
structs_oss.go multiregion: validation should always return error for OSS (#8687) 2020-08-18 15:35:38 -04:00
structs_periodic_test.go tests for periodic job scheduling and DST 2020-05-07 17:36:59 -04:00
structs_test.go consul/connect: make use of task kind to determine service name in consul token checks 2020-08-27 12:14:40 -05:00
testing.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
volumes.go Fix accidental broken clones 2020-08-28 15:29:22 -04:00