Skip to content

Conversation

@ahrtr
Copy link
Member

@ahrtr ahrtr commented Jan 19, 2026

We won't generate v2 snapshot files in 3.8 anymore, but etcd is still generating snapshot periodically and will keep this behaviour. During etcd generating snapshot, it does the following two things:

  1. generate a snapshot entry in WAL file
  2. purge old raft entries

So we need to keep the flag --snapshot-count so that users can configure how frequently the snapshot is generated.

cc @fuweid @ivanvc @jberkus @serathius

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

We won't generate v2 snapshot files in 3.8 anymore, but etcd is
still generating snapshot periodically and will keep this behaviour.
During etcd generating snapshot, it does the following two things:
1. generate a snapshot entry in WAL file
2. purge old raft entries

So we need to keep the flag --snapshot-count so that users can
configure how frequently the snapshot is generated.

Signed-off-by: Benjamin Wang <[email protected]>
@ahrtr
Copy link
Member Author

ahrtr commented Jan 19, 2026

Link to #20187

@ahrtr
Copy link
Member Author

ahrtr commented Jan 19, 2026

/retest

@k8s-ci-robot
Copy link

@ahrtr: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-etcd-coverage-report 8787fe8 link true /test pull-etcd-coverage-report

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.38%. Comparing base (51f3577) to head (8787fe8).

Additional details and impacted files
Files with missing lines Coverage Δ
server/embed/config.go 79.43% <100.00%> (ø)
server/etcdmain/config.go 72.51% <ø> (ø)

... and 20 files with indirect coverage changes

@@            Coverage Diff             @@
##             main   #21162      +/-   ##
==========================================
- Coverage   68.42%   68.38%   -0.04%     
==========================================
  Files         429      429              
  Lines       35267    35267              
==========================================
- Hits        24132    24118      -14     
- Misses       9744     9754      +10     
- Partials     1391     1395       +4     

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51f3577...8787fe8. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahrtr, fuweid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ahrtr
Copy link
Member Author

ahrtr commented Jan 19, 2026

Backported to #21163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants