Comments (3)
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
from couchdb.
Could you update the log message to
1 conflicted shard in the cluster, please check document revisions for "_dbs" REST endpoint on all cluster nodes
from couchdb.
I think it may work as a documentation string better as opposed a longer log message. Maybe a paragraph in the docs indicating what the error means, with a few examples, so it's easy to search, and how to react to it.
from couchdb.
Related Issues (20)
- "apache.jfrog.io" no more available. Where are the .deb packages now? HOT 2
- Installing from yum repo fails repomd.xml signature could not be verified for couchdb HOT 2
- Couchdb stoped writing to the journald logs HOT 4
- How do I customize port and service name for couchdb during silent installation in Windows HOT 6
- Requiring support for leading wildcard search for nouveau HOT 3
- Inherited Permissions Not Applied in CouchDB's Windows Installer HOT 8
- No documentation on mem3 options in CouchDB
- Sign out from Admin HOT 5
- Invoking update function when changing document in Fauxton HOT 3
- HTTP call inside validation function in design document? HOT 2
- CouchDB replications cannot be configured with 'heartbeat'
- Slow couchdb after many queries HOT 29
- Add "exp" to mandatory JWT claims HOT 4
- Nouveau trial run observations HOT 2
- Unexpected JWT auth response "badmatch" HOT 7
- Verify CouchDB Installation fails with create view HOT 4
- replicator session auth cannot handle multiple Set-Cookie headers in /_session request HOT 1
- Create new Fauxton release and update couch HOT 1
- Compactor case clause error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from couchdb.