nickva commented on issue #5026:
URL: https://github.com/apache/couchdb/issues/5026#issuecomment-2036059357

   Conflicted shards means that the database metadata doc in the `_dbs` has a 
conflicts. That database is replicated in a circle (n1->n2->n3->n1) and since 
any node can receive database creation requests it's possible to get conflicts 
in those documents. We only use the winning (latest) version of the db but warn 
the user via custodian (a helper background watcher service) if there are 
conflicts present. I believe you can delete the conflicted revision one of the 
nodes (via `/_node/_local/_dbs/$dbname`) and then custodian will stop reporting 
it.
   
   The code that detects is somewhere here: 
https://github.com/apache/couchdb/blob/main/src/custodian/src/custodian_util.erl#L206-L208


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to