debian-forge-composer/vendor/github.com/aws/aws-sdk-go
Thomas Lavocat ab7fe6558a worker: protect the instance from upgrading
Before the instance was vulnerable to an OTA update while processing a
request. Because there is no way of retriggering a job in Composer, it
is better to avoid this situation.
The way we are doing it is by setting the `protected` flag onto the
instance when a job is being processed. This way the AWS scheduler
does hopefully not shutdown the machine at the wrong time.

Main caveats of this solution:
* Starvation: If a worker keeps accepting new jobs, then it might not be
  updated.
* Inconsistency: There exist a window between the job acceptation and the
  protection where the worker can be shutdown without having the time to
  protect itself.
2022-05-10 11:45:29 +02:00
..
aws build(deps): bump github.com/aws/aws-sdk-go from 1.43.42 to 1.44.4 2022-05-02 10:01:01 +02:00
internal build(deps): bump github.com/aws/aws-sdk-go from 1.40.49 to 1.42.25 2021-12-22 13:53:53 +01:00
private build(deps): bump github.com/aws/aws-sdk-go from 1.42.25 to 1.43.38 2022-04-13 09:17:55 +02:00
service worker: protect the instance from upgrading 2022-05-10 11:45:29 +02:00
LICENSE.txt go: include vendored modules 2020-02-17 16:09:17 +01:00
NOTICE.txt go: include vendored modules 2020-02-17 16:09:17 +01:00