-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing headers in replication documents #1266
Comments
When you say "version 2.2.0" do you mean you are running from /cc @nickva |
Yes, we are running from the master. Git reference 101f29b. |
Just want to exclude one possible scenario: which user you are using to check replication document? Is it owner or other users? We intentionally hide credential information for readers using #1126. Of course, this PR will not have impact on replication functionality, just for the purpose of security. |
We are using owner/admin. This happens on a lot of the documents and replication is failing but those documents whose headers are still available is working properly. Does replication jobs update the replication documents? Or is it happening because of replication document update conflict? Or an error in replication of replication database? |
For the case I mentioned above, it is just for display. So the actual content of replication content is not changed when non-owner is trying to view replication document. For the case you mentioned, you mean that you are using owner/admin. If the header in replication document is not visible to owner, I don't believe that it belongs to the case I mentioned. There must be other concern case which causes the failure of replication. |
Thanks for the prompt reply guys. Have you found anything? If you want any more clarifications let me know. |
If you can provide a script that allows for regular reproduction of the problem, that'd be very helpful. |
Sure, we are working on the script. Will share as soon as we get it done. |
We tried creating a replication script but we are unable to reproduce the issue on the script level. Meanwhile, did you find anything as to why this is occurring? |
So far I didn't get more progress. It is really helpful if we can get reproduce steps, even if it is not written in script. |
Closing until we have a reproducer. |
Sometimes headers go missing from replication document causing replication failure because of the unauthorized request. We are using clustered environment (replica=2 & shards=1). Also the user id and password goes missing from the target object.
Expected Behavior
The headers should be present
Current Behavior
Headers goes missing, possible after an update of CouchDB itself.
Sample:-
Context
Our replication is failing in between, we are trying to accomplish unhindered heavy replicaiton.
Your Environment
The text was updated successfully, but these errors were encountered: