Don't allow users to change the value for --v2-deprecation
#18994
Labels
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
release/v3.6
type/feature
What would you like to be added?
part of #12913
If the v2store still contains custom content, 3.6 should panic on bootstrap. But if users change
--v2-deprecation
to V2Depr0NotYet, then it won't panic anymore even if v2store contains user data (custom content). It may lead to data inconsistency in such case.To ensure a smoother upgrade from 3.5 to 3.6, we still keep the option, but ignore users' provided value; and print a warning if present.
Why is this needed?
To avoid potential data inconsistency due to users misconfiguration.
The text was updated successfully, but these errors were encountered: