commit 47e1a217b3c756eb57f073b841278a64bd082fa5
Author: Greg Althaus <galthaus@austin.rr.com>
Date: Mon Jan 31 14:47:10 2022 -0600
build: update to publiush v4.8.2
M go.mod
M go.sum
commit 3adb3b31989be597e4a36c1dfa897b858ae20e93
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Mon Jan 24 09:16:50 2022 -0600
fix(consensus): Fix artifact replication loop.
It was possible for artifact replication in a consensus cluster to get
stuck in an infinite loop when the leader asserted an artifact state
that was impossible for followers to sucessfully replicate or
ignore. The foillowing factors contributed to this state, and are
fixed by this patch:
* When asserting artifact dominance, the leader based its known state
for job logs and plugins based on their respective filesystems instead
of the database. This could lead to the followers being told they
needed to pull artifact that were impossible to pull due to them going
through an API path that referred to a nonexistent database object.
This has beeb fixed by having the leader use the jobs and
plugin_providers table to generate the list of job logs and plugin
provider binaries instead of the contents of the filesystem where they
are stored.
* Followers were interpreting a 404 response as an error that could be
resolved by retrying the request. They will now interpret 404 as in
indication that the artifact they are trying to replicate has vanished
instead.
M clitest/test-data/output/TestFilesCli/files.upload.files_test.go.as.greg/greg/stderr.expect
M datastack/etags.go
M datastack/index/index.go
M datastack/stack.go
M go.mod
M go.sum
M tools/test.sh
commit bacdc07e6ead96bd47a434189c26b7325e2212b1
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Mon Jan 3 13:41:51 2022 -0600
Fix manager tests that were missing the --platform drpcli option
M manager-tests/test-data/output/TestCorePieces/client1.gohai.0c113ca6d57519b559ba5a426be3c6b6/stdout.expect
M manager-tests/test-data/output/TestCorePieces/client2.gohai.0c113ca6d57519b559ba5a426be3c6b6/stdout.expect
M manager-tests/test-data/output/TestCorePieces/manager1.gohai.0c113ca6d57519b559ba5a426be3c6b6/stdout.expect
M manager-tests/test-data/output/TestCorePieces/sub2-client1.gohai.0c113ca6d57519b559ba5a426be3c6b6/stdout.expect
M manager-tests/test-data/output/TestCorePieces/sub2-client2.gohai.0c113ca6d57519b559ba5a426be3c6b6/stdout.expect
M manager-tests/test-data/output/TestCorePieces/sub3-client1.gohai.0c113ca6d57519b559ba5a426be3c6b6/stdout.expect
M manager-tests/test-data/output/TestCorePieces/sub3-client2.gohai.0c113ca6d57519b559ba5a426be3c6b6/stdout.expect
M manager-tests/test-data/output/TestCorePieces/sub4-client1.gohai.0c113ca6d57519b559ba5a426be3c6b6/stdout.expect
M manager-tests/test-data/output/TestCorePieces/sub4-client2.gohai.0c113ca6d57519b559ba5a426be3c6b6/stdout.expect
commit 9dea31fb35c706e68060d1ddf490528cd69fab84
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Mon Jan 3 12:34:19 2022 -0600
Use options 66 amd 67 directly if we are not trying to PXE, NBSP, or BOOTP
M midlayer/abp.go
M midlayer/dhcp.go
End of Note