- the debian 11 and 12 distroless images still trust the compromised eMudhra intermediate CAs, with no patched release
- see #22665
Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
Go 1.26.10 was released and contains a fix for CVE-2026-111943. Per the
project's dependency management guidance, stable branches track the latest
patch release of the supported Go minor version, so bump the toolchain
directive in every module and the .go-version file from 1.26.9 to 1.26.10.
This covers the `release-3.7` branch item of #22628.
Signed-off-by: Batianxieshen1 <280706568+Batianxieshen1@users.noreply.github.com>
processMessages walks Ready messages last to first so it can keep only the newest MsgAppResp. Since #21810 and #21778 it appends survivors during that walk, so MsgApp leaves the leader in reverse log order. Followers reject those appends and the leader resends.
Keep the same filter and return survivors in Ready order, without modifying the Ready messages. TestProcessMessagesOrder now expects the same order as release-3.6.
Fixes#22483
Signed-off-by: Ričardas Čubukinas <29689012+xadips@users.noreply.github.com>
Record the order in which processMessages returns Ready messages. It is currently reversed relative to the Ready order.
Part of #22483
Signed-off-by: Ričardas Čubukinas <29689012+xadips@users.noreply.github.com>
Clone the last key before appending \x00 so concurrent keys-only streams do not modify the shared key in the index.
Signed-off-by: Jefftree <jeffrey.ying86@live.com>
NewJournalWriter is the only user of github.com/coreos/go-systemd/v22
in the client/pkg/v3 module. Its only caller is the server's
--log-outputs=systemd/journal sink in server/embed. etcd v3.8 moves the
writer into server/embed and removes the exported function, so that
client packages no longer carry go-systemd in their module graph.
Mark the function as deprecated in 3.7, so that users get a staticcheck
warning before the removal. The server call site keeps using it until
v3.8, with a nolint comment.
Removal in v3.8: https://github.com/etcd-io/etcd/pull/22502
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Close the locked file when os.Remove fails. Log any close error while
preserving the original removal error returned to the caller.
Signed-off-by: Todd Hendricks <tjhendrx@icloud.com>
We cut the branch when this GitHub action had a syntax error. On top of
that, this action should only be targeting the main branch.
Signed-off-by: Ivan Valdes <ivan@vald.es>
SaveDBFrom synced a received snapshot database before renaming it into place, but did not sync the containing directory. Linux fsync(2) documents that syncing a file does not necessarily persist its directory entry; the directory must also be synced.
The snapshot receiver calls SaveDBFrom before processing the Raft message, which can later sync the WAL snapshot record. Sync the snapshot directory after rename and on the existing-file retry path, and return sync errors so snapshot handling stops before Raft processing.
Add direct unit coverage that both SaveDBFrom paths invoke directory sync and propagate failures. Keep gofail E2E coverage scoped to failure/retry and crash-before-return control flow; remove tests and claims that did not establish directory-entry durability.
Signed-off-by: Gyuho Lee <gyuhol@nvidia.com>
Dropped the extra print so RaftTerm only shows up once, to match with the table and json output.
Signed-off-by: Anvesh Reddy Pinnapureddy <anveshreddypinnapareddy802@gmail.com>