Croway commented on PR #29067:
URL: https://github.com/apache/camel/pull/29067#issuecomment-6607015567
Following up on @davsclaus's consumer → producer question. I ran it against
a real CouchDB 3.5.3 (test-infra), on this PR and on the merge base
ffc272852e6f:
| Route | merge base | this PR |
|---|---|---|
| `couchdb:source → couchdb:target`, one insert | target: 0 docs | target: 1
doc, the change row (`{"changes":[…],"seq":"1-…","id":"<source id>"}`) under a
random `_id`, not the document |
| `couchdb:loop → couchdb:loop`, one insert | 1 doc | 21 docs after ~14 s,
still growing |
So the problem is wider than the same database. A copy to another database
also stores the change row instead of the document. I'd take the stricter
option: fail when the body is still the consumer's change row (e.g. it has
`seq` and `changes` but no `_id`), with a hint to remove `CamelCouchDbMethod`
or to `GET` the document first.
_Claude Code on behalf of Croway_
--
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]