open-nomad/helper
Mahmood Ali 2c73552b4d
pool: track usage of incoming streams (#10710)
Track usage of incoming streams on a connection. Connections without
reference counts get marked as unused and reaped in a periodic job.

This fixes a bug where `alloc exec` and `alloc fs` sessions get terminated
unexpectedly. Previously, when a client heartbeats switches between
servers, the pool connection reaper eventually identifies the connection
as unused and closes it even if it has an active exec/fs sessions.

Fixes #10579
2021-06-07 10:22:37 -04:00
..
args address review comments 2018-10-30 13:58:52 -04:00
boltdd Implement 'batch mode' for persisting allocations on the client. (#9093) 2020-10-20 16:15:37 -04:00
codec Pull inmem codec to helper 2018-02-15 13:59:00 -08:00
constraints/semver test: assert semvers are *not* compared lexically 2019-11-19 10:59:40 -08:00
discover skip running test executables 2017-10-19 16:49:57 -07:00
envoy consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
escapingio Fixup uses of `sanity` (#10187) 2021-03-16 18:05:08 -04:00
exptime connect: use exp backoff when waiting on consul envoy bootstrap 2021-04-27 09:21:50 -06:00
fields goimports 2019-01-22 15:44:31 -08:00
flags command: give flag-helpers a better name 2020-12-14 10:07:27 -06:00
flatmap Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
freeport Fix undefined: getEphemeralPortRange error on FreeBSD. 2020-02-27 14:54:55 -05:00
gated-writer gatedwriter: Fix race condition (#9791) 2021-01-14 12:43:14 -08:00
grpc-middleware/logging Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
logging cli Ui implementation that logs to a hclogger 2019-02-19 17:53:14 -06:00
mount helper/mount: Add mount helper package 2020-03-23 13:58:29 -04:00
noxssrw Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
pluginutils json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
pool pool: track usage of incoming streams (#10710) 2021-06-07 10:22:37 -04:00
raftutil RPC endpoints to support 'nomad ui -login' 2021-03-10 08:17:56 -05:00
snapshot Apply suggestions from code review 2020-05-31 21:29:17 -04:00
stats deps: bump gopsutil to v3.21.2 2021-03-30 16:02:51 -04:00
testlog tests: prefix agent logs to identify agent sources 2020-06-07 16:38:11 -04:00
testtask Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00
tlsutil Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
useragent Set user-agent when talking to GCE metadata 2018-04-10 10:36:46 -04:00
uuid e2e: add e2e test for service registration 2021-01-05 08:48:12 -06:00
winsvc Added service wrapper code (#6220) 2019-11-11 15:16:07 -05:00
funcs.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
funcs_test.go nomad operator debug - add pprof duration / csi details (#9346) 2020-12-01 12:36:05 -05:00