CouchDB "stale" parameter has been deprecated for view functions #12064
Labels
CouchDB
New Feature
Technical Debt
Used to track issues that address technical needs internal to WM team
Impact of the new feature
WM in general
Is your feature request related to a problem? Please describe.
As documented in this view API:
https://docs.couchdb.org/en/stable/api/ddoc/views.html#db-design-design-doc-view-view-name
the
stale
option has been deprecated and it should be replaced bystable
andupdate
.The default behavior of CouchDB is
stable=false&update=true
, where the documentation says:Describe the solution you'd like
Replace CouchDB view use of the
stale
option according to:ok
: returns data that might be stale. To be replaced bystable=true&update=false
update_after
: returns data from the view and then trigger view update. To be replaced bystable=true&update=lazy
and default behavior will be
stable=false&update=true
.Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: