Breaking change of default of max_number_of_snapshots
in v8
#68886
Labels
>bug
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
v8.5.0
In #64461 we introduced the ability to set a limit on the number of snapshots in a repo, but in the backport to 7.11 we set the limit to
Integer.MAX_VALUE
to avoid introducing a breaking change in this minor release. However, the limit reduces to500
in 8.0 which now represents a future breaking change. Today this change gets no mention in the 8.0 breaking changes docs, nor a deprecation warning in 7.x to help users prepare for it.For changes to parameter defaults we'd usually require users to set the parameter explicitly to avoid the deprecation warning. I'm not sure that works in this case, if we say "you must set
max_number_of_snapshots
" then users will explicitly set it too high to work around their current snapshot hygiene problems, rather than dealing with the root cause.The text was updated successfully, but these errors were encountered: