-
Notifications
You must be signed in to change notification settings - Fork 10.3k
RFC: StoreV2 deprecation plan #12913
Copy link
Copy link
Open
0 / 10 of 1 issue completedLabels
help wantedpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.stage/tracked
Metadata
Metadata
Assignees
Labels
help wantedpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.stage/tracked
[The content of this post is being edited, and is not yet approved plan of record ]
Background
In 3.4 storeV2 is still extensively used:
User can opt in
--enable-v2to unable V2 API that writes solely data to storeV2 files.Membership information is both stored in V2 & V3 (backend) stores
Membership information is being read (recovered) from storeV2
Publishing membership happens through StoreV2 raft operation.
During startup etcd assumes each WAL log snapshot is accompanied by storev2 snapshot.
Note:
etcdctl snapshot restoreis not restoring V2 content (producing fake storeV2 with membership information)Plan:
3.5 release (updated by ahrtr )
Both V2 and V3 state are supported, but V3 becomes the source of truth. TODO:
--enable-v2v3=...or deprecated. [see https://github.com/3.5 decision making for alpha/beta/experimental feature stability #12905]--enable-v2v3=...]--enable-v2is ONits validated whether it has no used-data (apart of membership & version)
3.6 release (updated by serathius@, ahrtr )
V3 is the only meaningful state. V2 state is generated from V3 state to maintained backward compability. TODO:
--enable-v2is docomissionedV2 no longer stores membership data--v2-deprecation#18994--snapshot-countas deprecated and to be decommissioned in 3.7 #189953.7 release (updated by serathius@, ahrtr )
--v2-deprecationto V2Depr1WriteOnlyDropTestV2DeprecationWriteOnlyWALandTestV2DeprecationWriteOnlySnapshot, refer to Bump version to 3.7 #199613.8 release
Remove
--v2-deprecation. Completely cleanup anything related to v2store.Docs
https://docs.google.com/document/d/1dpvBrOvBquZ8QozJcT6xcwVUVXYwO3hvjmVBd7ixIJU/edit