Hi, We're in need of revision history to be maintained along with who modified the doc, what time, etc., While we could use "_changes" API, there is no way to get the UserCtx. This is the real limitation of changes API due to which we are looking for other ways.
Another solution, per couchdb doc, is to use update handler functions. But, we want to leverage MVCC feature of couchdb to resolve conflicts and update handler functions don't handle this well. What would you recommend is the best way to achieve history tracking? Basically, we want to create another doc separately for 'changes' or 'history' of each doc along with userCtx and time (of modification). >From what we see, CouchDB plugin architecture only allows handling per http request. We're looking for something like "when doc changes, do this" types feature. How do we do this? Any advise? Regards, -Suraj -- An Onion is the Onion skin and the Onion under the skin until the Onion Skin without any Onion underneath. -- _____________________________________________________________ The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. The firm is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
