tophe commented on issue #4385: URL: https://github.com/apache/couchdb/issues/4385#issuecomment-1397041792
I have just find the problem, it is docker dependent. when you do a docker stop/start everything is ok with replication. but when you update the container, running a docker run, with a new container, the replication restart from the beginning. (I have made change in local.ini) [start_log.txt](https://github.com/apache/couchdb/files/10457293/start_log.txt) [checkpoint_logs.txt](https://github.com/apache/couchdb/files/10457294/checkpoint_logs.txt) I have attache some logs to the post. in checkpoint_log.txt, you can see the last checkpoint for replication lotimages_new. at g1AAAAMLeJzLYWBg4MhgTmGQSs4vTc5ISXIoLskvStVLLCopKMpMTtVLyszJAaphSmRIkv in start log, you can see log asked from g1AAAACReJzLYWBgYMpgTmHgzcvPy09JdcjLz8gvLskBCScyJNX in futon, I can see that replication restart from beginning. are the replication checkpoints stored in /opt/couchdb/data, that is a docker binded volume, or are they stored in the container ? and if so where are they stored ? I have attach some docker config in order to reproduce my setup. [dock.zip](https://github.com/apache/couchdb/files/10457471/dock.zip) you can download all the file and then run docker-compose build, docker-compose up to start couchdb container. set up a replication with some datas. after checkpointing, change local.ini , and docker-compose build, docker-compose up, to redeploy a new container. then compare starting point, with checkpoint. -- 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]
