Details
-
Bug
-
Resolution: Unresolved
-
Major
-
4.5.1
-
Untriaged
-
Unknown
Description
Steps to reproduce
- Install Couchbase Server
- Config Couchbase
- Change the permissions on the index path so Couchbase Server can't write
- Create a view
Problem
Cluster manager keeps crashing and the node shows up as pending. The error in the logs is enoent:
couchdb.log |
[couchdb:error,2017-05-05T10:06:23.076+02:00,couchdb_ns_1@127.0.0.1:<0.23519.351>:couch_log:error:44]couch_set_view_group error opening set view group `_design/dev_test` (prod), signature `f26
|
kte46e155888a19fbji364e4c02af', from set `bucket-one`: {error,
|
enoent}
|
Expectation
- For a helpful message in both the UI and the logs explain that the view creation failed because of permission error
- For the cluster manager not to crash
- For the view not to be in a half created state.
Attachments
Gerrit Reviews
For Gerrit Dashboard: MB-24326 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
98672,1 | MB-24326 Cluster manager crashes when view engine can't write to index path. When Index Path dont have write permission couch_set_view not able to create the required file inside the index path. It keeps on trying to create the required file which crashes the cluster manager. | master | couchdb | Status: ABANDONED | 0 | -1 |
98673,1 | MB-24326 Cluster manager crashes when view engine can't write to index path. When Index Path dont have write permission couch_set_view not able to create the required file inside the index path. It keeps on trying to create the required file which crashes the cluster manager. | master | ns_server | Status: ABANDONED | 0 | 0 |
98696,2 | MB-24326 Check the write permission of the index path before creating ddoc | master | ns_server | Status: ABANDONED | 0 | 0 |