You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an existing DB is deleted in a cluster without quorum an error 500 is returned. The deletion is done and replicated once the cluster nodes come back.
Expected Behavior
When deleting a database in a cluster where the quorum is not met a 202 - Acepted should be returned if at least one of the active nodes responds ok.
It is related to issue #603
Current Behavior
When an existing DB is deleted in a cluster without quorum an error 500 is returned. The deletion is done and replicated once the cluster nodes come back.
Possible Solution
The problem seems to be here
couchdb/src/fabric/src/fabric_db_delete.erl
Line 73 in 1c39e0c
where accepted is returned only if quorum is met
Steps to Reproduce (for bugs)
Context
The current situation is not consistent with the fix for issue #603
Your Environment
The text was updated successfully, but these errors were encountered: