arifcse019 commented on issue #1564: Couch 2.x cluster returning inconsistent 
_all_docs
URL: https://github.com/apache/couchdb/issues/1564#issuecomment-413972988
 
 
   The issue got resolved by restarting one node in our cluster.
   
   I used this documentation 
http://docs.couchdb.org/en/2.1.2/cluster/sharding.html. I did not manually copy 
shard files to the new node instead I let the internal replication do that job 
for me after I have updated the cluster metadata for all _dbs using a script. 
    
   Please note, there were never an inconsistency for any individual document. 
The inconsistency was limited only to the _all_docs view
   
   However, I never took the cluster offline while moving shards using internal 
replication. Can that cause the  inconsistency? I mean there could have been 
write operations in progress when the cluster metadata got updated for a 
particular DB. That would mean write is going to the old node and a stale 
version of shard is coming to the new node?
   
   Anyway, thanks for responding

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to