You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/10/23 03:01:51 UTC

[GitHub] tudordumitriu commented on issue #1659: Replication calls to _replicate are returning entire history even if replicator.max_history is set

tudordumitriu commented on issue #1659: Replication calls to _replicate are returning entire history even if replicator.max_history is set
URL: https://github.com/apache/couchdb/issues/1659#issuecomment-432071111
 
 
   Hi @kocolosk and thanks for getting back,
   
   I might have been wrong in saying that the entire is returned, but definitely there is something wrong, because this number is growing.
   Now what is strange is that on the same documents that I used to investigate this scenario the replication is now started returning a very small number (like 9), but it steadily increased to 40 after possible 31 operations (didn't count exactly). So what I'm thinking is that was somehow cleaned by some scheduled maintenance job.
   
   But I will attach 2 versions of the response I got for the same request (not subsequent but in time after a certain number of operations - and I am counting the start_last_seq):
   {"source": "http://sa:go@localhost:5984/central","target": "http://sa:go@localhost:5984/userdb-61","doc_ids" : ["l_303381cf64f141f28a316b400b8a3cbb_org.couchdb.user:t"] }
   [26_start_last_seq.txt](https://github.com/apache/couchdb/files/2504277/26_start_last_seq.txt)
   [40_start_last_seq.txt](https://github.com/apache/couchdb/files/2504280/40_start_last_seq.txt)
   
   Hope it helps.
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services