Skip to content

Figure out how to block adding extra view to bundled ddocs #10517

@dianabarsan

Description

@dianabarsan

Is your feature request related to a problem? Please describe.
Adding views to bundled ddocs is potentially destructive, because adding or editing a view requires the reindexing of the whole ddoc, which will potentially cause some sort of downtime (depending on which ddoc, downtime can be total or partial - with only some services not working) and will require all the extra disk space that is required for the ddoc reindex.

Describe the solution you'd like
Figure out a way to stop editing these ddocs. This way should still allow upgrades that would potentially add new views.

Describe alternatives you've considered
Limit to documentation.

Additional context
In a large production instance, a new workflow required adding a new view. The managing team added the view to an existent ddoc, and the instance ran out of disk space while indexing.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🪣 Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions