package v1alpha1 // DiskMonitor Disk Monitor Options // Apache CouchDB can react proactively when disk space gets low. type DiskMonitor struct { // BackgroundViewIndexingThreshold The percentage of used disk space on the `view_index_dir` above which CouchDB // will no longer start background view indexing jobs. Defaults to 80. BackgroundViewIndexingThreshold *int `json:"backgroundViewIndexingThreshold,omitempty" ini:"background_view_indexing_threshold,omitempty"` // InteractiveDatabaseWritesThreshold The percentage of used disk space on the database_dir above which CouchDB // will no longer allow interactive document updates (writes or deletes). // Replicated updates and database deletions are still permitted. // In a clustered write an error will be returned if enough nodes are above the `interactive_database_writes_threshold`. // Defaults to 90. InteractiveDatabaseWritesThreshold *int `json:"interactiveDatabaseWritesThreshold,omitempty" ini:"interactive_database_writes_threshold,omitempty"` // Enable enable disk monitoring subsystem. Defaults to false. Enable *bool `json:"enable,omitempty" ini:"enable,omitempty"` // InteractiveViewIndexingThreshold The percentage of used disk space on the view_index_dir above which CouchDB // will no longer update stale view indexes when queried. // View indexes that are already up to date can still be queried, // and stale view indexes can be queried if either stale=ok or update=false are set. //Attempts to query a stale index without either parameter will yield a 507 Insufficient Storage error. Defaults to 90. InteractiveViewIndexingThreshold *int `json:"interactiveViewIndexingThreshold,omitempty" ini:"interactive_view_indexing_threshold,omitempty"` }